Comment the v-body-scroll-lock usage in code

This commit is contained in:
tusooa 2023-06-29 11:40:33 -04:00
parent 09402e2537
commit bf5bd4235d
No known key found for this signature in database
GPG Key ID: 42AEC43D48433C51
1 changed files with 6 additions and 0 deletions

View File

@ -12,6 +12,11 @@
<span <span
ref="header" ref="header"
class="emoji-tabs" class="emoji-tabs"
<!--
Body scroll lock needs to be on every scrollable element on safari iOS.
Here we tell it to enable scrolling for this element.
See https://github.com/willmcpo/body-scroll-lock#vanilla-js
-->
v-body-scroll-lock="isInModal" v-body-scroll-lock="isInModal"
> >
<span <span
@ -79,6 +84,7 @@
<DynamicScroller <DynamicScroller
ref="emoji-groups" ref="emoji-groups"
class="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="groupsScrolledClass" :class="groupsScrolledClass"
:min-item-size="minItemSize" :min-item-size="minItemSize"