github scenee/FloatingPanel 2.7.0

latest releases: 2.8.6, 2.8.5, 2.8.4...
13 months ago

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

Don't miss a new FloatingPanel release

NewReleases is sending notifications on new releases.