adopted-ember-addons / adopted-ember-addons/ember-paper

paper-dialog: escape key does not always close dialog with escapeToClose=true

Aperta
#719 0 commenti 1 reazione 0 assegnatari Vedi su GitHub
Lingua principale
JavaScript
Stelle
879
Fork
327
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

Because the keydown event is scoped to the component, the escape key is not always closing the dialog modal.

I don't know if it works as intended but if you take the [demo](http://miguelcobain.github.io/ember-paper/release-1/#/components/dialog), click on "custom dialog" then anywhere within the dialog, the escape key won't close the dialog anymore.

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.