Skip to content

2.7.0

Compare
Choose a tag to compare
@scenee scenee released this 21 Aug 11:18
· 53 commits to master since this release

This release has several improvements and behavior changes.

This also has changes to more consistently control scroll offset of its tracking scroll view.

Behavior changes

  • Calls the floatingPanelDidMove delegate method at the end of the move interaction.
  • Calls the floatingPanelDidEndDragging delegate method after FloatingPanelController.state changes when willAttract is false.
  • Sets isAttracting to true even when moving between states by FloatingPanelController.move(to:animated:completion) except for moves from/to .hidden.
  • Do not reset the scroll offset of its tracking scroll view when a user moves a panel outside its scroll view or on the navigation bar above it.

Improvements

  • Added FloatingPanelPanGestureRecognizer.delegateOrigin to allow to access the default delegate implementations (It's useful when using delegateProxy).

Bugfixes

  • Retains scroll view position while moving between states (#587)
  • Fixed invalid scroll offsets after moving between states
  • Calls floatingPanelWillRemove delegate method when a panel is removed from a window

Thank you to @fawzirifai for this release!

The API document: https://floatingpanel.github.io/2.7.0/documentation/floatingpanel/
Full Changelog: https://github.com/scenee/FloatingPanel/compare/2.6.6…2.7.0