Changeset 239059 in webkit
- Timestamp:
- Dec 10, 2018 4:32:38 PM (5 years ago)
- Location:
- trunk/Source/WebKit
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebKit/ChangeLog
r239056 r239059 1 2018-12-10 Tim Horton <timothy_horton@apple.com> 2 3 Animated scrolling on Google Maps scrolls the page in addition to moving the map 4 https://bugs.webkit.org/show_bug.cgi?id=192521 5 <rdar://problem/46382007> 6 7 Reviewed by Sam Weinig. 8 9 * Platform/spi/ios/UIKitSPI.h: 10 * UIProcess/ios/WKKeyboardScrollingAnimator.mm: 11 (-[WKKeyboardScrollViewAnimator rubberbandableDirections]): 12 Only do keyboard-based rubber-banding in directions that we can actually 13 scroll, not directions we can only finger-rubber-band in. This effectively 14 means keyboard scrolling will ignore "alwaysBounce{Vertical, Horizontal}". 15 1 16 2018-12-10 Commit Queue <commit-queue@webkit.org> 2 17 -
trunk/Source/WebKit/Platform/spi/ios/UIKitSPI.h
r239026 r239059 1055 1055 - (BOOL)_isScrollingToTop; 1056 1056 - (CGPoint)_animatedTargetOffset; 1057 - (BOOL)_canScroll X;1058 - (BOOL)_canScroll Y;1057 - (BOOL)_canScrollWithoutBouncingX; 1058 - (BOOL)_canScrollWithoutBouncingY; 1059 1059 - (void)_setContentOffsetWithDecelerationAnimation:(CGPoint)contentOffset; 1060 1060 - (CGPoint)_adjustedContentOffsetForContentOffset:(CGPoint)contentOffset; -
trunk/Source/WebKit/UIProcess/ios/WKKeyboardScrollingAnimator.mm
r238834 r239059 679 679 WebCore::RectEdges<bool> edges; 680 680 681 edges.setTop(scrollView._canScroll Y);681 edges.setTop(scrollView._canScrollWithoutBouncingY); 682 682 edges.setBottom(edges.top()); 683 edges.setLeft(scrollView._canScroll X);683 edges.setLeft(scrollView._canScrollWithoutBouncingX); 684 684 edges.setRight(edges.left()); 685 685
Note: See TracChangeset
for help on using the changeset viewer.