You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* feat(overlay): add scroll handling strategies
* Adds the `scrollStrategy` option to the overlay state, allowing the consumer to specify what scroll handling strategy they'd want to use. Also includes a `ScrollStrategy` interface that users can utilize to build their own strategies.
* Adds the `RepositionScrollStrategy`, `CloseScrollStrategy` and `NoopScrollStrategy` as initial, out-of-the-box strategies.
* Sets the `RepositionScrollStrategy` by default on all the connected overlays and removes some repetitive logic from the tooltip, autocomplete, menu and select.
**Note:** I'll add a `BlockScrollStrategy` in a follow-up PR. I wanted to keep this one shorter.
Relates to #4093.
* fix: missing types on the scroll dispatcher
* refactor: use class for fake scroll strategy
* refactor: add onAttached and onDetached observables
* chore: rename observables
0 commit comments