diff --git a/CHANGELOG.md b/CHANGELOG.md index ffa347f45..beebd876e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -422,6 +422,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/). - A list larger than the maximum scroll size of the browser shows its last items, and its items move evenly during a scroll. [#2410](https://github.com/IgniteUI/igniteui-webcomponents/pull/2410) - A new `data` array measures the new items at the rendered indices again. [#2412](https://github.com/IgniteUI/igniteui-webcomponents/pull/2412) - A `data` change in the same task as `scrollToIndex()` renders at the new offset. [#2545](https://github.com/IgniteUI/igniteui-webcomponents/pull/2545) + - A property change on a detached virtual scroll no longer throws an error. ### Security - #### Tile manager diff --git a/src/components/button/button-base.ts b/src/components/button/button-base.ts index 138ed2d54..90b61ee18 100644 --- a/src/components/button/button-base.ts +++ b/src/components/button/button-base.ts @@ -171,10 +171,7 @@ export abstract class IgcButtonBaseComponent extends EventEmitterMixin({ keyOf: (radio) => radio.name || '', - scopeOf: (radio) => radio.form ?? getRoot(radio), + scopeOf: (radio) => radio.form ?? radio.getRootNode(), deriveState: (radios) => radios.some((radio) => radio.checked && !radio.disabled), }); diff --git a/src/components/stepper/stepper.ts b/src/components/stepper/stepper.ts index d8f9cf4c5..241e52536 100644 --- a/src/components/stepper/stepper.ts +++ b/src/components/stepper/stepper.ts @@ -350,7 +350,7 @@ export default class IgcStepperComponent extends EventEmitterMixin