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!
How to disable Snap Scroll for Safari?
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
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
-
GNP
-

- Posts: 110
- Joined: Sat Dec 28, 2019 6:59 pm
How to disable Snap Scroll for Safari?
Last edited by GNP on Tue Apr 07, 2026 2:49 pm, edited 1 time in total.
- Pablo
- Posts: 24597
- Joined: Sun Mar 28, 2004 12:00 pm
- Location: Europe
- Contact:
Re: How to disable Snap Scroll for Safari?
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?
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?
I just want Safari exempted alone. Is there anyway to do this?
- Pablo
- Posts: 24597
- Joined: Sun Mar 28, 2004 12:00 pm
- Location: Europe
- Contact:
Re: How to disable Snap Scroll for Safari?
I'm sorry, there is no option to disable it for specific device types.
- BaconFries
-

- Posts: 6292
- Joined: Thu Aug 16, 2007 7:32 pm
Re: How to disable Snap Scroll for Safari?
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"
"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?
Yup, I've seen this one. Trying it out now. Will report back!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>
-
GNP
-

- Posts: 110
- Joined: Sat Dec 28, 2019 6:59 pm
Re: How to disable Snap Scroll for Safari?
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.
<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?
Oh, and echoing many, many web devs out there:
F*** Safari!
F*** Safari!