Bug
Tabs inside a modal stay at a constant position so you can easily click and navigate through them. This could be achieved by setting a top position instead of centering modal.
The modal positions center based on the height of the modal, when using tabs inside a modal the modal jumps around causing mouse users to have to move there mouse to get between tabs.
https://stackblitz.com/edit/angular-5zbvzd
Allowing an option to change position of modal based on top value.
Angular Material 5.0.4
@bsteffl it's already possible to define a top position for the dialog, rather than having it always be centered. Here's a fork of your example that shows it working.
Specifying top does get the job done but it requires you to calculate the position by hand. It can't really be hardcoded either since the dimensions of the window affect the position as well when you have something like text. It would be nicer if the modal had an option to just stick to its original position after being opened.
Closing since there isn't much we can do about this. If we want the dialog to center itself automatically, it has to respond to size changes which will cause the jumping.
This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.
Read more about our automatic conversation locking policy.
_This action has been performed automatically by a bot._
Most helpful comment
Specifying
topdoes get the job done but it requires you to calculate the position by hand. It can't really be hardcoded either since the dimensions of the window affect the position as well when you have something like text. It would be nicer if the modal had an option to just stick to its original position after being opened.