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

fix(toast): Hide scrollbars during animation. #6017

Closed
wants to merge 1 commit into from

Conversation

topherfangio
Copy link
Contributor

During animation, certain browsers would show scroll bars if the
toast was positioned at the bottom of the parent container.

Fix by adding a class to the parent which sets the overflow to
hidden only during the animations.

Also, update documentation with notes about positioning and
recommendations.

Fixes #2936.

During animation, certain browsers would show scroll bars if the
toast was positioned at the bottom of the parent container.

Fix by adding a class to the parent which sets the overflow to
hidden only during the animations.

Also, update documentation with notes about positioning and
recommendations.

Fixes #2936.
@topherfangio topherfangio added this to the 1.0-rc6 milestone Dec 1, 2015
@topherfangio topherfangio added the needs: review This PR is waiting on review from the team label Dec 1, 2015
@topherfangio
Copy link
Contributor Author

@jelbourn @robertmesserle @ThomasBurleson Please review when you have a moment and provide feedback on doc updates and any potential issues you see with this fix.

@robertmesserle
Copy link
Contributor

@topherfangio I think a better solution would be to have a wrapper div that the toast animates within. So when it is below the fold, it will be hidden by that div and not trigger scrolling.

@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 Dec 2, 2015
@ThomasBurleson ThomasBurleson self-assigned this Dec 2, 2015
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.

3 participants