Skip to content

Commit 11071c3

Browse files
committed
Minor Fixes to View Transition Fixture (#32664)
Follow up to #32656. Remove touchAction from SwipeRecognizer. I was under the wrong impression that this was only the touch-action applied to this particular element, but that parents would still win but in fact this blocks the parent from scrolling in the other direction. By specifying a fixed direction it also blocked rage-swiping in the other direction early on. Disable pointer-events on view-transition so that the scroll can be hit. This means that touches hit below the items animating above. This allows swiping to happen again before momentum scroll has finished. Previously they were ignored. This only works as long as the SwipeRecognizer is itself not animating. This means you can now rage-swipe in both directions quickly. DiffTrain build for [c2a1961](c2a1961) DiffTrain build for [646835f](646835f) DiffTrain build for [db7dfe0](db7dfe0)
1 parent dd465cb commit 11071c3

File tree

1 file changed

+51726
-70963
lines changed
  • compiled/eslint-plugin-react-hooks

1 file changed

+51726
-70963
lines changed

0 commit comments

Comments
 (0)