Skip to content

v1.6.3: Revamp the core logic

Compare
Choose a tag to compare
@scenee scenee released this 26 Jul 14:00
· 431 commits to master since this release

This has a bunch of bugfixes and improvements. It's more stable than the earlier versions.

The core logic was refactored along with many new unit tests and then the position handling, scroll lock and animation interruption become robust. I highly recommend to upgrade to the version.

This is a big milestone to go to the next step, which is the initial version supporting the elastic height and top-to-bottom layout.

Improvements

  • Add unit tests for the layout and the animation logic.
  • Refactor the core logic for the next features.
  • Revise the doc comments.

Bugfixes

  • Fix the .hidden position handling. Now you can use .hidden position as well as other positions.
  • Fix the scroll lock and unlock when an animation interrupted.
  • Fix a bug of the removal interaction.
  • Fix the behavior when the animation is interrupted over the top most position.
  • Fix an ambiguous layout error after swiping down from full to half position.
  • Stop the top edge bounce when a tracking scroll is decelerating using an interruptible animator.
  • Fix the SafeArea update
  • Fix scroll lock just before/after dragging down in the grabber area