<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.webkit.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>243582</bug_id>
          
          <creation_ts>2022-08-05 01:32:54 -0700</creation_ts>
          <short_desc>[iOS] CSS Scroll Snap disables momentum-based scrolling</short_desc>
          <delta_ts>2026-04-16 15:45:49 -0700</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>CSS</component>
          <version>Safari 15</version>
          <rep_platform>iPhone / iPad</rep_platform>
          <op_sys>iOS 15</op_sys>
          <bug_status>NEW</bug_status>
          <resolution></resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>InRadar</keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Šime Vidas">sime.vidas</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>chasem000</cc>
    
    <cc>fotis.papadogeorgopoulos</cc>
    
    <cc>nmouchtaris</cc>
    
    <cc>simon.fraser</cc>
    
    <cc>webkit-bug-importer</cc>
    
    <cc>wenson_hsieh</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1889079</commentid>
    <comment_count>0</comment_count>
    <who name="Šime Vidas">sime.vidas</who>
    <bug_when>2022-08-05 01:32:54 -0700</bug_when>
    <thetext>1. Open https://output.jsbin.com/kehuzan/quiet
2. Scroll the page

What happened: 

The scrolling animation does not have momentum.

Relevant CSS on test page:

html {
  scroll-snap-type: y proximity;
}

li {
  scroll-snap-align: start;
}</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1889081</commentid>
    <comment_count>1</comment_count>
    <who name="Šime Vidas">sime.vidas</who>
    <bug_when>2022-08-05 02:15:20 -0700</bug_when>
    <thetext>I’ve tested in Chrome and Firefox on Android. When I perform a fast scrolling operation, the scrolling continues until the velocity decreases to a certain threshold, at which point the browser snaps to an item.

But in Safari, as soon as I lift my finger from the swipe, it snaps. There is no fast scrolling velocity like in other browsers that prevents snapping for an additional second or two. This makes it impossible to scroll the page fast. You have to swipe over and over again to inch your way to the bottom of the page. I think this is way too limiting.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1889313</commentid>
    <comment_count>2</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2022-08-05 19:50:33 -0700</bug_when>
    <thetext>&lt;rdar://problem/98224628&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2201252</commentid>
    <comment_count>3</comment_count>
      <attachid>479114</attachid>
    <who name="Simon Fraser (smfr)">simon.fraser</who>
    <bug_when>2026-04-16 15:43:17 -0700</bug_when>
    <thetext>Created attachment 479114
Test case</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2201254</commentid>
    <comment_count>4</comment_count>
    <who name="Simon Fraser (smfr)">simon.fraser</who>
    <bug_when>2026-04-16 15:45:49 -0700</bug_when>
    <thetext>Current behavior on iOS is that swipes move from one item to the next, instead of doing a normal momentum scroll and then retargeting near the end (which would be the ideal behavior).</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="0"
              isprivate="0"
          >
            <attachid>479114</attachid>
            <date>2026-04-16 15:43:17 -0700</date>
            <delta_ts>2026-04-16 15:43:17 -0700</delta_ts>
            <desc>Test case</desc>
            <filename>scroll-snap.html</filename>
            <type>text/html</type>
            <size>1371</size>
            <attacher name="Simon Fraser (smfr)">simon.fraser</attacher>
            
              <data encoding="base64">PCFET0NUWVBFIGh0bWw+Cgo8aHRtbCBjbGFzcz0ic25hcCI+CiAgPGhlYWQ+CiAgICA8bWV0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