• Jeff McGlynn's avatar
    PageView ballistics overshoot the page on some devices (#12884) · 473d75a6
    Jeff McGlynn authored
    * PageView ballistics overshoot the page on some devices
    
    On some devices, such as Cupertino “Plus”-sized devices, scrolling left on the first page of a PageView will overshoot the first page and land on the second page.
    
    The issue is that applyContentDimensions incorrectly detects a content size change due to a floating point comparison on certain screen sizes (18257.400000000005 vs 18257.4)
    
    To fix this, perform a nearEqual comparison in applyContentDimensions.
    
    * Apply style changes to nearEqual for code review feedback.
    473d75a6
Name
Last commit
Last update
..
animation Loading commit data...
cupertino Loading commit data...
engine Loading commit data...
examples Loading commit data...
foundation Loading commit data...
gestures Loading commit data...
harness Loading commit data...
material Loading commit data...
painting Loading commit data...
physics Loading commit data...
rendering Loading commit data...
scheduler Loading commit data...
semantics Loading commit data...
services Loading commit data...
widgets Loading commit data...