Skip to content

Commit 971556f

Browse files
authored
fix(modal): clear internal return_focus after modal closes (fixes #3067) (#3068)
1 parent 0d6b106 commit 971556f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/components/modal/modal.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -501,6 +501,7 @@ export default Vue.extend({
501501
this.$nextTick(() => {
502502
this.returnFocusTo()
503503
this.is_closing = false
504+
this.return_focus = null
504505
const hiddenEvt = new BvModalEvent('hidden', {
505506
cancelable: false,
506507
vueTarget: this,

0 commit comments

Comments
 (0)