How to disable Snap Scroll for Safari?

All WYSIWYG Web Builder support issues that are not covered in the forums below.
Forum rules
IMPORTANT NOTE!!

DO YOU HAVE A QUESTION OR PROBLEM AND WANT QUICK HELP?
THEN PLEASE SHARE A "DEMO" PROJECT.



PLEASE READ THE FORUM RULES BEFORE YOU POST:
http://www.wysiwygwebbuilder.com/forum/viewtopic.php?f=12&t=1901

MUST READ:
http://www.wysiwygwebbuilder.com/getting_started.html
WYSIWYG Web Builder FAQ
Post Reply
GNP
 
 
Posts: 110
Joined: Sat Dec 28, 2019 6:59 pm

How to disable Snap Scroll for Safari?

Post by GNP »

Hi,

Snap Scroll has become a very helpful feature for my website. However since Safari doesn't take too well to scap scrolls, I'm trying to disable this specifically for the iPhone Safari browser.

for reference here is the site link: https://www.graynoteprods.com

I've come across this to insert between the head tags:

<style>
/* Targets Safari on both macOS and iOS */
@supports (font: -apple-system-body) {
html, body {
scroll-snap-type: none !important;
}
}
</style>

I've tried this, but it still doesn't work. Any advice would be appreciated!
Last edited by GNP on Tue Apr 07, 2026 2:49 pm, edited 1 time in total.
User avatar
Pablo
 
Posts: 24597
Joined: Sun Mar 28, 2004 12:00 pm
Location: Europe
Contact:

Re: How to disable Snap Scroll for Safari?

Post by Pablo »

You can disable snap scroll via the 'breakpoint' property in the RWD tab.
GNP
 
 
Posts: 110
Joined: Sat Dec 28, 2019 6:59 pm

Re: How to disable Snap Scroll for Safari?

Post by GNP »

Thanks, but I actually want Snap Scroll for Android devices as well as other browsers. It works perfectly on those.

I just want Safari exempted alone. Is there anyway to do this?
User avatar
Pablo
 
Posts: 24597
Joined: Sun Mar 28, 2004 12:00 pm
Location: Europe
Contact:

Re: How to disable Snap Scroll for Safari?

Post by Pablo »

I'm sorry, there is no option to disable it for specific device types.
User avatar
BaconFries
 
 
Posts: 6292
Joined: Thu Aug 16, 2007 7:32 pm

Re: How to disable Snap Scroll for Safari?

Post by BaconFries »

The example below is provided "AS IS" and untested..

"You can disable scroll snapping in Safari only by using a Safari‑specific CSS hack. Safari is the only major browser that supports the @supports (-webkit-touch-callout: none) feature query, which makes it perfect for targeting Safari without affecting Chrome/Firefox/Edge"

Code: Select all

<style>
/* Target Safari only */
@supports (-webkit-touch-callout: none) {
    html, body, * {
        scroll-snap-type: none !important;
        scroll-snap-align: none !important;
        scroll-snap-stop: normal !important;
    }
}
</style>
GNP
 
 
Posts: 110
Joined: Sat Dec 28, 2019 6:59 pm

Re: How to disable Snap Scroll for Safari?

Post by GNP »

BaconFries wrote: Tue Apr 07, 2026 7:01 pm The example below is provided "AS IS" and untested..

"You can disable scroll snapping in Safari only by using a Safari‑specific CSS hack. Safari is the only major browser that supports the @supports (-webkit-touch-callout: none) feature query, which makes it perfect for targeting Safari without affecting Chrome/Firefox/Edge"

Code: Select all

<style>
/* Target Safari only */
@supports (-webkit-touch-callout: none) {
    html, body, * {
        scroll-snap-type: none !important;
        scroll-snap-align: none !important;
        scroll-snap-stop: normal !important;
    }
}
</style>
Yup, I've seen this one. Trying it out now. Will report back!
GNP
 
 
Posts: 110
Joined: Sat Dec 28, 2019 6:59 pm

Re: How to disable Snap Scroll for Safari?

Post by GNP »

Okay! I tried an even more robust code:

<style>
/* Robust target for latest iOS Safari */
@supports (-webkit-touch-callout: none) {
html, body, * {
scroll-snap-type: none !important;
scroll-snap-align: none !important;
scroll-snap-stop: normal !important;
scroll-behavior: auto !important; /* Prevents stuttering on 120Hz screens */
}
}
</style>


I've checked with a friend with the latest iphone and safari, and the glitchy scrolling problem is no more! Least I hope that's for the majority of iphone users out there....in the meantime, I still can have Snap Scroll for Android and other browsers. Best.
GNP
 
 
Posts: 110
Joined: Sat Dec 28, 2019 6:59 pm

Re: How to disable Snap Scroll for Safari?

Post by GNP »

Oh, and echoing many, many web devs out there:

F*** Safari!
Post Reply