|
@@ -9,8 +9,14 @@
|
|
|
>
|
|
|
<template #content>
|
|
|
<div class="heading">
|
|
|
+ <!--
|
|
|
+ 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
|
|
|
+ -->
|
|
|
<span
|
|
|
ref="header"
|
|
|
+ v-body-scroll-lock="isInModal"
|
|
|
class="emoji-tabs"
|
|
|
>
|
|
|
<span
|
|
@@ -75,8 +81,10 @@
|
|
|
@input="$event.target.composing = false"
|
|
|
>
|
|
|
</div>
|
|
|
+ <!-- Enables scrolling for this element on safari iOS. See comments for header. -->
|
|
|
<DynamicScroller
|
|
|
ref="emoji-groups"
|
|
|
+ v-body-scroll-lock="isInModal"
|
|
|
class="emoji-groups"
|
|
|
:class="groupsScrolledClass"
|
|
|
:min-item-size="minItemSize"
|