Skip to content

Commit

Permalink
fix(VMenu): disabled activatorFixed when attach is enabled (#15709)
Browse files Browse the repository at this point in the history
fixes #14922
  • Loading branch information
HIROYUKI20200507 authored Sep 6, 2022
1 parent 381fdb5 commit 464529a
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion packages/vuetify/src/mixins/menuable/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -281,7 +281,10 @@ export default baseMixins.extend<options>().extend({
}
},
checkActivatorFixed () {
if (this.attach !== false) return
if (this.attach !== false) {
this.activatorFixed = false
return
}
let el = this.getActivator()
while (el) {
if (window.getComputedStyle(el).position === 'fixed') {
Expand Down

0 comments on commit 464529a

Please sign in to comment.