Skip to content

Commit

Permalink
fix(limel-dialog): open dialog on Microsoft Edge several times
Browse files Browse the repository at this point in the history
fix #314
  • Loading branch information
BregenzerK authored and adrianschmidt committed Sep 10, 2019
1 parent cd6d658 commit ecd2f7b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/dialog/dialog.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ export class Dialog {
const { activate, deactivate } = util.createFocusTrapInstance(
this.host.shadowRoot.querySelector('.mdc-dialog__surface'),
focusTrap.default,
this.host.shadowRoot.getElementById('initialFocusEl')
this.host.shadowRoot.querySelector('#initialFocusEl')
);

this.mdcDialog.foundation_.adapter_.trapFocus = () => {
Expand Down

0 comments on commit ecd2f7b

Please sign in to comment.