Releases: composablehorizons/compose-unstyled
Releases · composablehorizons/compose-unstyled
1.14.0
What's new
- Added new
overscrollEffectSides
param toScrollArea
so you can choose which sides the given overscrollEffect will work at. This is handy if you want to turn off the overscrollEffect to a specific side, such as no top overscrollEffect while working with Material'sPullToRefreshBox()
. #23 - Added new
positionalThreshold
andvelocityThreshold
properties onSheets
components, so you can customize the behavior fully. #20 (thanks @Perfomer for the suggestion)
Bug Fixes
- Fixed
ModalBottomSheet
not triggering recomposition when updating properties #24 (Thanks @jtomli for the bug report) - Fixed a crash when clicking the
BottomSheet
sDragIndication
#21 (thanks @Nath-IS for the bug report) - Only consume fling if required by overscrollEffect of
ScrollArea
- Fixed a bug where flinting won't work on
ScrollArea
while anoverscrollEffect
is set
Improvements
ScrollArea
will now consume no scroll effects unless it is required as part of the given overscrollEffect.- iOS overscroll bounce effect now works correctly with
ScrollArea
.
1.13.0
What's new
- Added new
overscrollEffectSides
param toScrollArea
so you can choose which sides the given overscrollEffect will work at. This is handy if you want to turn off the overscrollEffect to a specific side, such as no top overscrollEffect while working with Material'sPullToRefreshBox()
. #23 - Added new
positionalThreshold
andvelocityThreshold
properties onSheets
components, so you can customize the behavior fully. #20 (thanks @Perfomer for the suggestion)
Bug Fixes
- Fixed
ModalBottomSheet
not triggering recomposition when updating properties #24 (Thanks @jtomli for the bug report) - Fixed a crash when clicking the
BottomSheet
sDragIndication
#21 (thanks @Nath-IS for the bug report)
Improvements
ScrollArea
will now consume no scroll effects unless it is required as part of the given overscrollEffect.- iOS overscroll bounce effect now works correctly with
ScrollArea
.
1.12.0
1.11.2
What's new
- Bug Fix: (Modal) Bottom Sheet should now always correctly report the correct value of
isIdle
even while being animated. 38a3cb9 - Bug Fix: Fix a bug where Modal Bottom Sheet would disappear when trying to change its size while being introduced on the screen. f14cba4 (Thanks @jacobras) for the bug report)
- Dev: Added tests for Bottom Sheets and Modal Bottom Sheets
1.11.1
Bug fixes
- Fix Sheet crash on iOS and Web 6574317 (fixes #13)
- Prevent scrolling of sheet's content while partially expanded Prevent 3a3b047 (fixes #14)
Other
Replaced deprecated IndicatorInstance
with IndicatorNodeFactory
in a new branch. Will merge this change once the API hits the stable release
1.11.0
1.10.0
What's new
BottomSheet
'senabled
property can now be toggled (390489f)- Added new
enabled
property onModalBottomSheet
that enables/disables drag gestures (4ff5d33)
Bug fixes
- Passing a
Modifier.align()
to any sheet will no longer break it (070d768) - Fix a bug where bottom sheets (and modal) would not update its height if the content's size grew taller (ad988a3)
- Modals will now apply ime insets correctly (7ca0e5b)
rememberSavable()
will now work correctly within modals (fe30470)ModalBottomSheet
will now correctly maintain its state on configuration changes (588303a)
Docs
Added code examples on working with softkeyboards and sheets
1.9.0
Enhancements
- Mention the missing detent's identifier in the exception thrown when trying to instantiating a
BottomSheet
with an missing detent. (cfc6cc1)