Skip to content

Commit 94b3666

Browse files
committed
fix(overlayable): check for overlay after animationFrame
fixes #4678
1 parent 517e64a commit 94b3666

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/mixins/overlayable.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,9 @@ export default {
5555
// eslint-disable-next-line no-unused-expressions
5656
this.overlay.clientHeight // Force repaint
5757
requestAnimationFrame(() => {
58+
// https://github.com/vuetifyjs/vuetify/issues/4678
59+
if (!this.overlay) return
60+
5861
this.overlay.className += ' v-overlay--active'
5962

6063
if (this.activeZIndex !== undefined) {

0 commit comments

Comments
 (0)