-
Notifications
You must be signed in to change notification settings - Fork 3.4k
md-select arrow keys (Up/Down) do not work when used in md-dialog #2443
Comments
This appears to be with the function trapFocus(ev) {
var dialog = document.querySelector('md-dialog');
if (dialog && !dialog.contains(ev.target)) {
ev.stopImmediatePropagation();
dialog.focus();
}
} I think it's kind of tricky to deal with, because of its numerous approachs, coming from defining exceptions on the But, what do you think to place an element, like a sandbox of dinamically created instances, like [...]
<md-sandbox>
<md-sandbox-instance [attrs-for-identification-or-configuration]>
<!-- Here goes a mdDialog, for example -->
</md-sandbox-instance>
<md-sandbox-instance [attrs-for-identification-or-configuration]>
<!-- Here goes a mdSelect options, for example -->
</md-sandbox-instance>
</md-sandbox>
</body> From the sandbox, events are contextualized, avoiding that |
+1 |
+1 I imagine lots of people will get distracted by the eye candy & invest lots of time in porting from ui.bootstrap or some other framework, only to find out 8hrs in that they destroyed usability, etc. |
I have the same problem because of |
Using the arrows keys on an open select inside a md-dialog does not work at all - the up down arrows do not work even after you manually click on an element to force focus on the select.
Using the list in a non modal section the select functions as expected
The text was updated successfully, but these errors were encountered: