Merge pull request #659 from Safelite/defect/digital/SSR-1177.1
SSR-1177 Fix Focus Trap error when initially showing a modal
This commit is contained in:
commit
0970b612eb
1 changed files with 4 additions and 1 deletions
|
|
@ -123,7 +123,10 @@ export default {
|
|||
openModal() {
|
||||
const modal = Modal.getOrCreateInstance(document.getElementById(this.modalId));
|
||||
modal?.show();
|
||||
this.isOpen = true;
|
||||
setTimeout(() => {
|
||||
this.isOpen = true;
|
||||
}, 10);
|
||||
|
||||
this.$emit('isModalOpened', true);
|
||||
},
|
||||
closeModal() {
|
||||
|
|
|
|||
Loading…
Reference in a new issue