-
Notifications
You must be signed in to change notification settings - Fork 6.8k
bug(mat-dialog): Tab content jumps a little right after dialog opening. #22323
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
I don't see any jumping on my end. Are you referring to the blurriness between the first and second screenshot? |
@crisbeto, Hi, thanks for checking! Not really, blurriness is an animation which is perfectly fine. In gif above you should focus on watching the text inputs (how they jump a little up after dialog init). Looks like it's just around 1 or 2px, but when almost all elements move it's noticeable (at least for me). Here are two adjacent frames and I used ruler to try to show that inputs are slightly in different positions. |
Thanks for the screenshot, but I still can't notice it on my machine. It looks like some kind of artifact from the animation so I'm not sure whether we can do much about it. |
It was noticeable on my old laptop which is super slow (dual core CPU). Now I'm using high-end laptop and can't notice any jumping without enabling hard CPU throttling. So, I'm not sure, if nobody except me experienced such issue, probably this ticket should be closed. What do you think? |
Closing since it seems to not be an issue any more |
This issue has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |
Uh oh!
There was an error while loading. Please reload this page.
Reproduction
Here are the two adjacent frames extracted from the gif above, there you can see that alignment of elements is slightly different (if you don't see - I recommend to use page ruler to make sure I don't lie).


Use StackBlitz to reproduce your issue:
Steps to reproduce:
Option 2:
Expected Behavior
Dialog content shouldn't move after dialog opens with that beautiful 'grow' style animation.
Actual Behavior
The dialog content is jumping a little (depends on what content it has). I'm afraid that the issue #13870 also might be related to this bug. So it's the dialog's fault that expansion panel is expanded and content is jumping.
Environment
The text was updated successfully, but these errors were encountered: