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

fix(toolbar): fix the toolbar not shrinking on load #8543

Closed
wants to merge 1 commit into from

Conversation

crisbeto
Copy link
Member

@crisbeto crisbeto commented May 24, 2016

The function that updates the toolbar height was firing too early, which caused the shrinking functionality not to work until 5sec after the last scroll event. This commit fixes it by waiting until the first digest before initializing the toolbar height.

Fixes #8258, #8221.

The function that updates the toolbar height was firing too early,
which caused the shrinking functionality not to work until 5sec after
the last scroll event. This commit fixes it by waiting until the first
digest before initializing the toolbar height.

Fixes angular#8258, angular#8221.
@crisbeto crisbeto added the needs: review This PR is waiting on review from the team label May 24, 2016
@ThomasBurleson ThomasBurleson added pr: merge ready This PR is ready for a caretaker to review and removed needs: review This PR is waiting on review from the team labels May 25, 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.

Can't get demo of toolbar "Scroll shrink" to work
2 participants