<?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>184626</bug_id>
          
          <creation_ts>2018-04-13 21:49:24 -0700</creation_ts>
          <short_desc>[css-scroll-snap] Scroll sometimes freezes between snap positions when nested scrolling element receives a scroll in alternate axis against nested scroll containers edge?</short_desc>
          <delta_ts>2018-04-16 09:40:05 -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 Technology Preview</version>
          <rep_platform>Mac</rep_platform>
          <op_sys>macOS 10.12</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="jonjohnjohnson">hi</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>bfulgham</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>1414619</commentid>
    <comment_count>0</comment_count>
    <who name="jonjohnjohnson">hi</who>
    <bug_when>2018-04-13 21:49:24 -0700</bug_when>
    <thetext>I made the title of this bug as specific as I was able to deduce. :/

Observed:
Scroll-snap freezing between scroll-snap positions.

Expected:
Scroll-snap should always snap to a position if type if set to `mandatory`.

Steps to reproduce:

1. Visit this test case -&gt; http://output.jsbin.com/lefekiv/5
2. Scroll horizontally and notice scroll-snapping between full window sized &quot;pages&quot;.
3. Scroll vertically within each &quot;page&quot;.
4. Sometimes when horizontal snapping hasn&apos;t finished, nested vertical scrollers receive a vertical scroll event and freezes horizontal snapping.

I am *pretty sure that it only freezes when the vertical scroll event is happening against an already fully scrolled edge, top or bottom.

Note, this sounds similar to another bug (https://bugs.webkit.org/show_bug.cgi?id=183239), but when I test the bug inducing behaviors for each, what causes failures in one doesn&apos;t in the other.

Here is a quick video showcasing the freezing, though not easy to tell when my trackpad commences vertical scrolling:
http://cl.ly/qtlD

As an aside, from what I&apos;ve seen in the iOS versions of safari, scrolling axises that aren&apos;t on the same element, can NEVER happen at the same time, which is nice, and might be a preferred ux paradigm for desktop safari as well? If you offer feedback being in favor of this note, maybe I&apos;ll bring up the topic to the csswg about making it a specified behavior for consistencies sake?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1414626</commentid>
    <comment_count>1</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2018-04-14 00:02:43 -0700</bug_when>
    <thetext>&lt;rdar://problem/39433156&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1414799</commentid>
    <comment_count>2</comment_count>
    <who name="Wenson Hsieh">wenson_hsieh</who>
    <bug_when>2018-04-16 09:40:05 -0700</bug_when>
    <thetext>Thanks for the test case! I can reproduce with the following steps:

1. Scroll vertically in one of the containers, but don&apos;t &quot;let go&quot; of the trackpad.
2. Scroll horizontally towards the next page.

For some reason, scroll snapping doesn&apos;t kick in when we&apos;re notified that scrolling has finished without momentum, if scrolling occurs in an alternate (non-scroll-snapping) axis...</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>