Skip to content
This repository was archived by the owner on Sep 5, 2024. It is now read-only.

fix(panel): don't bind scroll event if scrolling is disabled #9947

Merged
merged 1 commit into from
Nov 15, 2016

Conversation

crisbeto
Copy link
Member

Previously, the panel would bind to a scroll event and determine within the handler whether to do anything. This change moves the check outside of the event handler and only binds if scrolling is enabled.

Previously, the panel would bind to a scroll event and determine within the handler whether to do anything. This change moves the check outside of the event handler and only binds if scrolling is enabled.
@crisbeto crisbeto added needs: review This PR is waiting on review from the team - Easy fix labels Oct 30, 2016
@crisbeto crisbeto added needs: presubmit and removed needs: review This PR is waiting on review from the team labels Nov 7, 2016
@crisbeto crisbeto added this to the 1.1.2 milestone Nov 7, 2016
@kara kara added pr: merge ready This PR is ready for a caretaker to review and removed needs: presubmit labels Nov 15, 2016
@kara kara merged commit 088d2e6 into angular:master Nov 15, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
pr: merge ready This PR is ready for a caretaker to review
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants