Fix scrolling emoji selector in modal in safari ios

This commit is contained in:
tusooa 2023-06-29 11:31:07 -04:00
commit 09402e2537
No known key found for this signature in database
GPG key ID: 42AEC43D48433C51
3 changed files with 7 additions and 0 deletions

View file

@ -105,6 +105,7 @@ const EmojiPicker = {
default: false
}
},
inject: ['popoversZLayer'],
data () {
return {
keyword: '',
@ -350,6 +351,9 @@ const EmojiPicker = {
return emoji.displayText
}
},
isInModal () {
return this.popoversZLayer === 'modals'
}
}
}