Chromium Code Reviews
Description[Android] Disable pull-to-refresh with overflow-y:hidden
Currently, the only way to disable the pull-to-refresh effect is to
explictly preventDefault the causal touches or suppress their default
actions with touch-action: none. However, the latter prevents
any kind of accelerated scrolling, and the former can be to get right
with composed or nested scrollable content.
Use the overflow-y:hidden property on the root element as a signal to
disable the effect. This dovetails with how this property both prevents
hiding of the top controls and suppresses the overscroll glow effect.
BUG=456515, 456300
Committed: https://crrev.com/2afdbf72bcfa0a2e30d31a37ca6499dcb99a62aa
Cr-Commit-Position: refs/heads/master@{#315938}
Patch Set 1 #Patch Set 2 : Use overscroll instead of ack #Patch Set 3 : Pass overflow:hidden via metadata #
Total comments: 1
Patch Set 4 : Rebase #
Messages
Total messages: 28 (8 generated)
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||