-
Notifications
You must be signed in to change notification settings - Fork 6.8k
Closed
Labels
P3An issue that is relevant to core functions, but does not impede progress. Important, but not urgentAn issue that is relevant to core functions, but does not impede progress. Important, but not urgentarea: material/progress-spinnerhelp wantedThe team would appreciate a PR from the community to address this issueThe team would appreciate a PR from the community to address this issue
Description
Reproduction
Use StackBlitz to reproduce your issue: https://stackblitz.com/fork/components-issue
https://stackblitz.com/edit/angular-ohvkwv
Steps to reproduce:
- Create a spinner
- Place in an element with overflow: auto
Expected Behavior
What behavior were you expecting to see?
See the mat spinner, spinning, inside a div.
Actual Behavior
What behavior did you actually see?
The spinner spins, but the div has scroll bars bouncing around.
Fix (?)
Playing with the CSS, it seems like this can be fixed once and for all (I keep hitting this all the time) if:
- The spinning animation is moved from the host to the actual svg
- The host is given the style overflow: hidden
Environment
- Angular: "8.0.0"
- CDK/Material: "8.1.4"
- Browser(s): Version 76.0.3809.100
- Operating System (e.g. Windows, macOS, Ubuntu): Debian GNU/Linux rodete
legau, RylaiCF, alex-vas, olliechick, dkimmich-onventis and 1 more
Metadata
Metadata
Assignees
Labels
P3An issue that is relevant to core functions, but does not impede progress. Important, but not urgentAn issue that is relevant to core functions, but does not impede progress. Important, but not urgentarea: material/progress-spinnerhelp wantedThe team would appreciate a PR from the community to address this issueThe team would appreciate a PR from the community to address this issue