mirror of
https://git.pleroma.social/sjw/pleroma-fe.git
synced 2024-12-23 01:29:47 +01:00
Fix scrolling emoji selector in modal in safari ios
This commit is contained in:
parent
d5e9a28c84
commit
09402e2537
1
changelog.d/scroll-emoji-selector-safari.fix
Normal file
1
changelog.d/scroll-emoji-selector-safari.fix
Normal file
@ -0,0 +1 @@
|
||||
Fix scrolling emoji selector in modal in safari ios
|
@ -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'
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -12,6 +12,7 @@
|
||||
<span
|
||||
ref="header"
|
||||
class="emoji-tabs"
|
||||
v-body-scroll-lock="isInModal"
|
||||
>
|
||||
<span
|
||||
v-for="group in filteredEmojiGroups"
|
||||
@ -78,6 +79,7 @@
|
||||
<DynamicScroller
|
||||
ref="emoji-groups"
|
||||
class="emoji-groups"
|
||||
v-body-scroll-lock="isInModal"
|
||||
:class="groupsScrolledClass"
|
||||
:min-item-size="minItemSize"
|
||||
:items="emojiItems"
|
||||
|
Loading…
Reference in New Issue
Block a user