-
Notifications
You must be signed in to change notification settings - Fork 6.8k
feat(overlay): add providers for overriding the scroll strategies per component #5134
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat(overlay): add providers for overriding the scroll strategies per component #5134
Conversation
jelbourn
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
|
Just needs rebase |
7d682fd to
b89d167
Compare
|
@crisbeto Can you rebase? |
b89d167 to
d4c73e5
Compare
|
|
||
| /** @docs-private */ | ||
| export function MD_AUTOCOMPLETE_SCROLL_STRATEGY_PROVIDER_FACTORY(overlay: Overlay) { | ||
| return () => overlay.scrollStrategies.reposition(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
wouldn't better to handle to case of IOS too (related to #5187)
return () => platform.IOS ? overlay.scrollStrategies.block() : overlay.scrollStrategies.reposition();|
Caretaker note: someone inside google is extending |
|
@crisbeto can you rebase? |
d4c73e5 to
778ca51
Compare
|
Rebased @jelbourn. |
778ca51 to
7b169e8
Compare
7b169e8 to
fc7823d
Compare
|
@crisbeto can you rebase again? |
fc7823d to
5bad898
Compare
|
Rebased @jelbourn. |
|
@crisbeto appears to be some lint errors now |
… component Adds providers to the autocomplete, connected overlay, datepicker, dialog, menu, select and tooltip components, that allow for the default scroll strategy to be overwritten. Fixes angular#4093.
5bad898 to
100e123
Compare
|
Sorted out the linting error @jelbourn. |
|
This issue has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |
Adds providers to the autocomplete, connected overlay, datepicker, dialog, menu, select and tooltip components, that allow for the default scroll strategy to be overwritten.
Fixes #4093.