Bug 142521 - Scrollbars in overflow regions are not vanishing after scrolling
Summary: Scrollbars in overflow regions are not vanishing after scrolling
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Layout and Rendering (show other bugs)
Version: 528+ (Nightly build)
Hardware: Mac All
: P2 Normal
Assignee: Brent Fulgham
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2015-03-09 19:19 PDT by Brent Fulgham
Modified: 2015-05-13 12:32 PDT (History)
3 users (show)

See Also:


Attachments
Patch (4.81 KB, patch)
2015-05-13 09:40 PDT, Brent Fulgham
no flags Details | Formatted Diff | Diff
Patch (3.85 KB, patch)
2015-05-13 12:20 PDT, Brent Fulgham
darin: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Brent Fulgham 2015-03-09 19:19:59 PDT
For some reasons, regardless of system preference settings, the scroll bars for overflow regions containing scroll snap points are not vanishing after completing a scroll snap animation.
Comment 1 Radar WebKit Bug Importer 2015-03-09 19:20:49 PDT
<rdar://problem/20100706>
Comment 2 Brent Fulgham 2015-05-13 09:40:36 PDT
Created attachment 253033 [details]
Patch
Comment 3 Brent Fulgham 2015-05-13 12:20:17 PDT
Created attachment 253044 [details]
Patch
Comment 4 Brent Fulgham 2015-05-13 12:28:14 PDT
Committed r184296: <http://trac.webkit.org/changeset/184296>
Comment 5 Brent Fulgham 2015-05-13 12:30:30 PDT
<rdar://problem/19797041>
Comment 6 Brent Fulgham 2015-05-13 12:32:27 PDT
This was happening because we were never ending the scroll gesture. See patch for details. I originally thought this was specific to scroll-snap regions, but it was also happening for certain thin horizontal overflow regions.

E.g., <http://stackoverflow.com/questions/1081381/iphone-hide-uitableview-search-bar-by-default>. Go to the top answer, scroll the code snippet horizontally. Prior to this patch, the scrollbar would not vanish.

Note: If you place your mouse inside the scrollbar track (such that the scrollbar thickens) you are in a mode that holds the scrollbar visible until you move the mouse out of the region.