Chromium Code Reviews
DescriptionDon't fade in overlay scrollbar when user interacting the content under scrollbar.
The issue (crbug.com/719011) indicate that it is hard to interact with
the content under the the scrollbar because the scrollbar will fade in
while mouse moves in the hover fade in region of scrollbar.
In this patch, we prevent fade in overlay scrollbar when user mouse
down. 3 behaviors changed:
1. When mouse move in hover fade in region of scrollbar with mouse
press, we don't trigger delay fade in.
2. When mouse down after a delay fade in triggered, cancel the delay
fade in.
3. When mouse up in hover fade in region of scrollbar, trigger a delay
fade in.
BUG=719011
CQ_INCLUDE_TRYBOTS=master.tryserver.blink:linux_trusty_blink_rel
Review-Url: https://codereview.chromium.org/2931703002
Cr-Commit-Position: refs/heads/master@{#478733}
Committed: https://chromium.googlesource.com/chromium/src/+/ac6ccd29b4eaa1e056c0cd0656e2fad8aa624d42
Patch Set 1 #
Total comments: 6
Patch Set 2 : bokan comments addressed #
Total comments: 1
Patch Set 3 : bokan comments addressed #
Messages
Total messages: 18 (10 generated)
|
|||||||||||||||||||||||||||||||||||||