Repository navigation
feat(overlay): add providers for overriding the scroll strategies per component - #5134
Merged
Merged
Conversation
Contributor
|
Just needs rebase |
crisbeto
force-pushed
the
4093/scroll-strategy-providers
branch
from
June 15, 2017 18:40
7d682fd to
b89d167
Compare
Contributor
|
@crisbeto Can you rebase? |
crisbeto
force-pushed
the
4093/scroll-strategy-providers
branch
from
June 17, 2017 12:42
b89d167 to
d4c73e5
Compare
aitboudad
reviewed
Jun 19, 2017
|
|
||
| /** @docs-private */ | ||
| export function MD_AUTOCOMPLETE_SCROLL_STRATEGY_PROVIDER_FACTORY(overlay: Overlay) { | ||
| return () => overlay.scrollStrategies.reposition(); |
Contributor
There was a problem hiding this comment.
wouldn't better to handle to case of IOS too (related to #5187)
return () => platform.IOS ? overlay.scrollStrategies.block() : overlay.scrollStrategies.reposition();
Contributor
|
Caretaker note: someone inside google is extending |
Contributor
|
@crisbeto can you rebase? |
crisbeto
force-pushed
the
4093/scroll-strategy-providers
branch
from
June 22, 2017 17:25
d4c73e5 to
778ca51
Compare
Member
Author
|
Rebased @jelbourn. |
crisbeto
force-pushed
the
4093/scroll-strategy-providers
branch
from
June 23, 2017 17:33
778ca51 to
7b169e8
Compare
crisbeto
force-pushed
the
4093/scroll-strategy-providers
branch
from
July 8, 2017 08:37
7b169e8 to
fc7823d
Compare
Contributor
|
@crisbeto can you rebase again? |
crisbeto
force-pushed
the
4093/scroll-strategy-providers
branch
from
July 14, 2017 22:40
fc7823d to
5bad898
Compare
Member
Author
|
Rebased @jelbourn. |
Contributor
|
@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.
crisbeto
force-pushed
the
4093/scroll-strategy-providers
branch
from
July 17, 2017 16:47
5bad898 to
100e123
Compare
Member
Author
|
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. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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.