-
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 |
---|---|---|
.. | ||
flutter | ||
flutter_driver | ||
flutter_localizations | ||
flutter_test | ||
flutter_tools | ||
.gitignore |