Skip to content

Conversation

@crisbeto
Copy link
Member

@crisbeto crisbeto commented Oct 8, 2017

  • Adds the ancestorScrolled method that allows for the consumer to subscribe to scroll events coming from the element's parent scrollables.
  • The scrolled and ancestorScrolled streams now expose the scrollable that was scrolled.

BREAKING CHANGES:

  • The getScrollContainers method has been renamed to getAncestorScrollContainers to better describe what it does.
  • The ScrollDispatcher.scrollableReferences property has been renamed to scrollContainers.
  • The ScrollDispatcher.scrollableContainsElement method has been removed.
  • The Scrollable class has been renamed to CdkScrollable for consistency.

@crisbeto crisbeto added P1 Impacts a large percentage of users; if a workaround exists it is partial or overly painful pr: needs review labels Oct 8, 2017
@crisbeto crisbeto requested a review from andrewseguin as a code owner October 8, 2017 09:58
@googlebot googlebot added the cla: yes PR author has agreed to Google's Contributor License Agreement label Oct 8, 2017
Copy link
Member

@jelbourn jelbourn left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@jelbourn jelbourn added pr: lgtm action: merge The PR is ready for merge by the caretaker and removed pr: needs review labels Oct 8, 2017
* Adds the `ancestorScrolled` method that allows for the consumer to subscribe to scroll events coming from the element's parent scrollables.
* The `scrolled` and `ancestorScrolled` streams now expose the scrollable that was scrolled.

BREAKING CHANGES:
* The `getScrollContainers` method has been renamed to `getAncestorScrollContainers` to better describe what it does.
* The `ScrollDispatcher.scrollableReferences` property has been renamed to `scrollContainers`.
* The `ScrollDispatcher.scrollableContainsElement` method has been removed.
* The `Scrollable` class has been renamed to `CdkScrollable` for consistency.
@crisbeto crisbeto force-pushed the scroll-dispatcher-improvements branch from 350559a to 5d263b6 Compare October 10, 2017 18:36
@andrewseguin andrewseguin merged commit b2fbea7 into angular:master Oct 12, 2017
ppham27 added a commit to ppham27/material2 that referenced this pull request Oct 12, 2017
andrewseguin pushed a commit that referenced this pull request Oct 13, 2017
@angular-automatic-lock-bot
Copy link

This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

This action has been performed automatically by a bot.

@angular-automatic-lock-bot angular-automatic-lock-bot bot locked and limited conversation to collaborators Sep 7, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

action: merge The PR is ready for merge by the caretaker cla: yes PR author has agreed to Google's Contributor License Agreement P1 Impacts a large percentage of users; if a workaround exists it is partial or overly painful

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants