fix popovers not scrolling in mobile notifications

This commit is contained in:
Henry Jameson 2022-06-21 15:57:42 +03:00
parent 57d156f14a
commit 93293db038

View File

@ -254,7 +254,8 @@ const Popover = {
}
},
mounted () {
let scrollable = this.$refs.trigger.closest('.column.-scrollable')
let scrollable = this.$refs.trigger.closest('.column.-scrollable') ||
this.$refs.trigger.closest('.mobile-notifications')
if (!scrollable) scrollable = window
this.scrollable = scrollable
},