-
Notifications
You must be signed in to change notification settings - Fork 6.8k
Closed
Labels
P2The issue is important to a large percentage of users, with a workaroundThe issue is important to a large percentage of users, with a workaroundarea: material/dialog
Description
Bug
Dialog position and size are not working well:
- Dialog position does not respect bottom (or I didn't understand what it stand for).
- When dialog is too long action buttons can not be accessed.
- When using a small device the dialog is not centered.
- This is more of a UX issue - when dialog has a dynamic content - content change leads to dialog size change which is a not a good user experience.
What is the expected behavior?
There are a few bugs here:
- when setting bottom - the lower end of the dialog location should be fixed.
- action buttons should always be reachable (even if it requires scrolling).
- dialog should be centered on small devices.
- I would say that a non dynamic (at least in terms of width) dialog would create better user experience, see my comments at the end.
What is the current behavior?
As described in the bug.
What are the steps to reproduce?
https://plnkr.co/edit/fwCkVfkc04BBwguHT00p?p=preview
4. does not exist in the above plunker, but dynamic content change of dialog content should present what I define as a not so good UX.
What is the use-case or motivation for changing an existing behavior?
Bad user experience.
Which versions of Angular, Material, OS, TypeScript, browsers are affected?
angular 4.0.3 material 2.0 beta 3.
Is there anything else we should know?
I'm migrating my code from angularjs to angular and from angular-bootstrap-ui to angular material.
The modal in angular bootstrap is behaving well in all the terms I have listed above and creates a very nice user experience, I think it's worth looking at its behavior.
jprokop-va, vipex, danwulff, kblicharski, benelliott and 16 more
Metadata
Metadata
Assignees
Labels
P2The issue is important to a large percentage of users, with a workaroundThe issue is important to a large percentage of users, with a workaroundarea: material/dialog