Aura Overlay Scrollbars should appear when mouse hovers over scroller edge |
|||
Issue descriptionIn order to allow users who don't scroll with the touchpad to use overlay scrollbars, we should make the scrollbar appear when the mouse hovers near the scrollbar region of the window/scroller. In order that we not make content below the scrollbar inaccessible, the scrollbar should fade in after some delay. That is, we should do this: 1) Scrollbars are invisible 2) User moves mouse (but doesn't scroll) near the window edge where the scrollbar would be 3) After ~1 sec, the scrollbar will appear
,
Feb 24 2017
Should scrollbars appear(reset delay?) when mouse hovers over scroller edge then keep moving (still over scroller edge)
,
Feb 24 2017
Yah, I think movement shouldn't reset the delay as long as it stays within the scrollbar edge I think.
,
Feb 27 2017
Yep, agreed with #4.
,
Mar 2 2017
The following revision refers to this bug: https://chromium.googlesource.com/chromium/src.git/+/748e8177decd9de78efe7350371f88197d7a9db8 commit 748e8177decd9de78efe7350371f88197d7a9db8 Author: chaopeng <chaopeng@chromium.org> Date: Thu Mar 02 15:30:29 2017 Aura Overlay Scrollbars appear when mouse hovers over scroller edge In this patch, we add a deley fade in animation when mouse move from not hover to hover. And cancel the deley fade in when mouse move from hover to not hover. BUG= 695580 CQ_INCLUDE_TRYBOTS=master.tryserver.blink:linux_trusty_blink_rel Review-Url: https://codereview.chromium.org/2716453005 Cr-Commit-Position: refs/heads/master@{#454266} [modify] https://crrev.com/748e8177decd9de78efe7350371f88197d7a9db8/cc/input/scrollbar_animation_controller.cc [modify] https://crrev.com/748e8177decd9de78efe7350371f88197d7a9db8/cc/input/scrollbar_animation_controller.h [modify] https://crrev.com/748e8177decd9de78efe7350371f88197d7a9db8/cc/input/scrollbar_animation_controller_unittest.cc [modify] https://crrev.com/748e8177decd9de78efe7350371f88197d7a9db8/cc/layers/painted_scrollbar_layer_impl.h [modify] https://crrev.com/748e8177decd9de78efe7350371f88197d7a9db8/cc/layers/scrollbar_layer_impl_base.h [modify] https://crrev.com/748e8177decd9de78efe7350371f88197d7a9db8/cc/layers/scrollbar_layer_unittest.cc [modify] https://crrev.com/748e8177decd9de78efe7350371f88197d7a9db8/cc/layers/solid_color_scrollbar_layer_impl.h [modify] https://crrev.com/748e8177decd9de78efe7350371f88197d7a9db8/cc/trees/layer_tree_host_impl_unittest.cc [modify] https://crrev.com/748e8177decd9de78efe7350371f88197d7a9db8/cc/trees/layer_tree_impl.cc [modify] https://crrev.com/748e8177decd9de78efe7350371f88197d7a9db8/cc/trees/layer_tree_settings.cc [modify] https://crrev.com/748e8177decd9de78efe7350371f88197d7a9db8/cc/trees/layer_tree_settings.h [modify] https://crrev.com/748e8177decd9de78efe7350371f88197d7a9db8/content/renderer/gpu/render_widget_compositor.cc [modify] https://crrev.com/748e8177decd9de78efe7350371f88197d7a9db8/ui/native_theme/overlay_scrollbar_constants_aura.h
,
Mar 2 2017
,
Apr 5 2017
Chrome OS 9433.0.0 59.0.3055.0 |
|||
►
Sign in to add a comment |
|||
Comment 1 by bokan@chromium.org
, Feb 23 2017