@vsn-ux/ngx-gaia 0.9.7 → 0.9.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -4128,9 +4128,12 @@ class GaSelectComponent {
4128
4128
  scrollActiveOptionIntoView() {
4129
4129
  afterNextRender({
4130
4130
  mixedReadWrite: () => {
4131
- const activeOption = this.gaOptions().find((option) => option.active());
4131
+ const activeOption = this.gaOptions().find((option) => option.cdkOption.isActive());
4132
4132
  if (activeOption) {
4133
- activeOption.cdkOption.setActiveStyles();
4133
+ activeOption.cdkOption.element.scrollIntoView({
4134
+ block: 'nearest',
4135
+ inline: 'nearest',
4136
+ });
4134
4137
  }
4135
4138
  },
4136
4139
  }, { injector: this.injector });