This commit is contained in:
tusooa 2023-06-29 11:43:49 -04:00
parent bf5bd4235d
commit 9fa0c05b35
No known key found for this signature in database
GPG Key ID: 42AEC43D48433C51

View File

@ -9,15 +9,15 @@
> >
<template #content> <template #content>
<div class="heading"> <div class="heading">
<span
ref="header"
class="emoji-tabs"
<!-- <!--
Body scroll lock needs to be on every scrollable element on safari iOS. Body scroll lock needs to be on every scrollable element on safari iOS.
Here we tell it to enable scrolling for this element. Here we tell it to enable scrolling for this element.
See https://github.com/willmcpo/body-scroll-lock#vanilla-js See https://github.com/willmcpo/body-scroll-lock#vanilla-js
--> -->
<span
ref="header"
v-body-scroll-lock="isInModal" v-body-scroll-lock="isInModal"
class="emoji-tabs"
> >
<span <span
v-for="group in filteredEmojiGroups" v-for="group in filteredEmojiGroups"
@ -81,11 +81,11 @@
@input="$event.target.composing = false" @input="$event.target.composing = false"
> >
</div> </div>
<!-- Enables scrolling for this element on safari iOS. See comments for header. -->
<DynamicScroller <DynamicScroller
ref="emoji-groups" ref="emoji-groups"
class="emoji-groups"
<!-- Enables scrolling for this element on safari iOS. See comments for header. -->
v-body-scroll-lock="isInModal" v-body-scroll-lock="isInModal"
class="emoji-groups"
:class="groupsScrolledClass" :class="groupsScrolledClass"
:min-item-size="minItemSize" :min-item-size="minItemSize"
:items="emojiItems" :items="emojiItems"