+6
-2
lines changedFilter options
+6
-2
lines changed Original file line number Diff line number Diff line change
@@ -604,9 +604,13 @@ export const BModal = /*#__PURE__*/ Vue.extend({
604
604
},
605
605
onEnter() {
606
606
this.isBlock = true
607
-
// We add show class 1 frame after
607
+
// We add the `show` class 1 frame later
608
+
// `requestAF()` runs the callback before the next repaint, so we need
609
+
// two calls to guarantee the next frame has been rendered
608
610
requestAF(() => {
609
-
this.isShow = true
611
+
requestAF(() => {
612
+
this.isShow = true
613
+
})
610
614
})
611
615
},
612
616
onAfterEnter() {
You can’t perform that action at this time.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4