Releases: Wouter125/BottomSheet
Releases · Wouter125/BottomSheet
Documentation update
BottomSheet Plus
Stable release plus minor updates to the readme.
BottomSheet Plus 2.0.0
In this release the last couple of bugs were addressed and 2.0 should be stable now for portrait iPhone users. Also added in a couple of new features such as the new presentationBackgroundInteraction
from Apple and the presentationDragIndicator
.
Background and corner radius will be added in one of the following releases.
Improved keyboard avoidance
- Improved the hack to implement keyboard avoidance. This way the preferencekey does not get lost when the keyboard opens.
Improved examples
- Improved examples by using viewbuilder instead of anyview.
Keyboard avoidance fix
- Brought back the keyboard avoidance fix
Small bugfixes and improved performance
- Added support for updating the innercontent of the scrollview in the UIKitView.
- Improved the performance of the bottomsheet and reduced the CPU usage.
- Improved the way of calling the sheet translation callback to support a more Apple-like approach.
- Fixes a bug where external detent selection change would not update the bottomsheet.
- Cleaned up the code around the bottomsheet to reduce the number of modifiers and listeners.
Small bugfixes
- Removes additional spacer by calculating offset differently
- Prevents the preference key reset when keyboards opens up and scrollview triggers some additional logic
- Sets the default height to the minimum size of detents when there is no selectedDetent configured
- Makes the header an optional property inside the configuration
Bottom Sheet Plus
Alpha release of the new bottom sheet. Some features might be missing or be broken. Feel free to open issues and I will try to address them.
- Implements a similar API to Apple's sheet to easily change it
- Reduces code and package size, and easier to maintain
- Potentially adds support for lists