Bug 142521

Summary: Scrollbars in overflow regions are not vanishing after scrolling
Product: WebKit Reporter: Brent Fulgham <bfulgham>
Component: Layout and RenderingAssignee: Brent Fulgham <bfulgham>
Status: RESOLVED FIXED    
Severity: Normal CC: bdakin, bfulgham, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: 528+ (Nightly build)   
Hardware: Mac   
OS: All   
Attachments:
Description Flags
Patch
none
Patch darin: review+

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.