You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Feb 23, 2023. It is now read-only.
How do I ...
On the site I use fancybox to create a wrapped communication form in a modal window.
You need to disable vertical swipe. Those. so that with vertical sweeping the modal window does not close.
My skrpit looks like this: <script> $(document).ready(function() { $(".fancybox-inline").click(function() { $.fancybox.open({ closeBtn : false, src : '#contact_form_pop', type : 'inline', touch: { vertical: false } }); }) }); </script>
As a result, vertical sweeping is disabled everywhere except for the Iphone.
Tell me what could be the problem?
The text was updated successfully, but these errors were encountered:
Hi, Vertical scrolling is a major issue of iOS Safari. It is now year 2021 and freshly released Safari 15 does not offer solution. Next-generation Fancybox has included some workarounds, but it still does not work perfectly. You could try to implement this solution - https://pqina.nl/blog/how-to-prevent-scrolling-the-page-on-ios-safari/ - but it might bring other issues.
How do I ...
On the site I use fancybox to create a wrapped communication form in a modal window.
You need to disable vertical swipe. Those. so that with vertical sweeping the modal window does not close.
My skrpit looks like this:
<script> $(document).ready(function() { $(".fancybox-inline").click(function() { $.fancybox.open({ closeBtn : false, src : '#contact_form_pop', type : 'inline', touch: { vertical: false } }); }) }); </script>
As a result, vertical sweeping is disabled everywhere except for the Iphone.
Tell me what could be the problem?
The text was updated successfully, but these errors were encountered: