-
Notifications
You must be signed in to change notification settings - Fork 3.4k
mdDialog: clickOutsideToClose does not remove the element in FF #2479
Comments
+1 |
Same Bug in Chrome 42.0.2311.90 :
https://material.angularjs.org/#/demo/material.components.dialog Exactly the same (buggy) behavior: Firefox 34.0.5 |
I confirm the bug reported by @dmitriz , the same code on Angular Material 0.8.3 worked fine (dialogs could be closed by clicking outside). But in Angular Material 0.9.0, 0.9.3 & 0.9.4 (on Chrome & FF), dialogs can't be skipped anymore. This is really annoying since 1.it's a regression compared to previous versions 2.it forces us (unless an easy patch is provided) to redesign our dialogs to have a "close" button when it was not needed before. Since it's not only a FF issue anymore (even Angular Material demo fails on Chrome & FF), maybe the issue should be renamed to make it more generic. |
👍 Definitely not the behavior as described at https://material.angularjs.org/0.10.0/#/demo/material.components.dialog for Chrome 43.0.2357.124. |
See this demo: http://codepen.io/anon/pen/EjxyXL
After showing the dialog, clicking outside or hitting escape leaves the element in the DOM, not letting you open it a second time.
Happens with both options clickOutsideToClose and escapeToClose.
I've tested this in chrome and it works fine.
Firefox version is 31.0
The text was updated successfully, but these errors were encountered: