Commit Graph

670 Commits

Author SHA1 Message Date
lodev09
9ecec144b3
chore: release 3.6.8
Some checks failed
Build / build-android (push) Has been cancelled
Build / build-ios (push) Has been cancelled
Checks / lint (push) Has been cancelled
Checks / test (push) Has been cancelled
Checks / build-library (push) Has been cancelled
2025-12-29 12:39:52 +08:00
lodev09
7813a68db1
chore: run tidy 2025-12-29 12:39:02 +08:00
Jovanni Lo
a1a82ad45e
fix(ios): preserve keyboard offset when footer resizes (#361) 2025-12-29 12:14:21 +08:00
lodev09
55cbd317c8
fix(android): optimize findRootContainerView to return first content view 2025-12-29 11:48:29 +08:00
Jovanni Lo
f3164ca303
fix(android): render TrueSheet above React Native Modal (#359)
TrueSheet was always adding its CoordinatorLayout to the activity's
content view, causing it to render behind React Native Modal which
uses a Dialog with its own window.

Now the host view (TrueSheetView) manages the root container. The
findRootContainerView() method traverses up the view hierarchy to
find the correct android.R.id.content container - whether that's
the activity's or a Modal's dialog window.

Changes:
- Add rootContainerView property to TrueSheetView
- Find container and attach coordinator on first present
- Detach coordinator in viewControllerDidDismiss
- Make coordinatorLayout internal for host view access
2025-12-29 11:29:44 +08:00
lodev09
9119dca450
chore: release 3.6.7 2025-12-28 09:21:33 +08:00
lodev09
daf0267ce4
chore: add @types/react resolution 2025-12-28 09:21:03 +08:00
lodev09
6a8e387776
fix: reset initial present flag during recycle 2025-12-28 09:15:34 +08:00
lodev09
acdd9e4cf4
chore: update example deps 2025-12-28 08:20:08 +08:00
lodev09
97f93f1b81
chore: update expo scripts 2025-12-28 07:13:04 +08:00
lodev09
e5d95f38a1
chore: release 3.6.6 2025-12-28 02:38:49 +08:00
lodev09
8015c83386
refactor: simplify initial presentation to only trigger on attach to window 2025-12-28 02:36:30 +08:00
lodev09
615f0537c5
fix(android): move setupModalObserver to present lifecycle 2025-12-28 02:35:28 +08:00
lodev09
ca01690e16
chore: release 3.6.5 2025-12-27 04:09:12 +08:00
lodev09
0734cc3163
fix(android): fix animated sheet dismiss with keyboard shown 2025-12-27 04:08:04 +08:00
lodev09
48d8ceb788
docs: add docs about autofocus input behavior 2025-12-27 02:59:31 +08:00
lodev09
ff105584d9
chore: release 3.6.4 2025-12-27 01:01:18 +08:00
lodev09
30f9d1b7fb
fix(android): wait for window attachment before initial presentation 2025-12-27 01:00:02 +08:00
lodev09
fc81413440
chore: release 3.6.3 2025-12-27 00:42:30 +08:00
lodev09
ed1346b346
fix(ios): add compile-time check for iOS 26.1+ APIs 2025-12-27 00:42:00 +08:00
lodev09
a7ac1d7839
fix(android): add safe value for halfExpandedRatio 2025-12-26 22:55:26 +08:00
lodev09
08aed6715b
chore: release 3.6.2 2025-12-26 16:32:35 +08:00
lodev09
02e85b6030
fix(ios): support blur intensity with backgroundBlur on iOS 26.1+
- Fall back to TrueSheetBlurView when blur intensity < 100%
- Set clear color backgroundEffect to override native Liquid Glass when using custom blur
2025-12-26 16:31:28 +08:00
lodev09
582cee009d
docs: improve liquid glass documentation
- Make UIDesignRequiresCompatibility a sub-section of Disabling Liquid Glass
- Add backgroundColor/backgroundBlur as first option to disable Liquid Glass per-sheet
- Add note about iOS 26.1+ requirement for per-sheet disabling
- Add Apple documentation reference for UIDesignRequiresCompatibility
- Add Liquid Glass info to backgroundColor and backgroundBlur props in configuration
- Move backgroundBlur and blurOptions next to backgroundColor in configuration
2025-12-26 16:05:43 +08:00
lodev09
8c0308ab60
chore: release 3.6.1 2025-12-26 03:06:43 +08:00
lodev09
71aded3bec
fix(ios): fall back to view.backgroundColor when UIDesignRequiresCompatibility is true 2025-12-26 03:05:47 +08:00
lodev09
2ad7f29dde
chore: release 3.6.0 2025-12-26 01:17:51 +08:00
lodev09
cd2172943f
ci: combine ccache into one step 2025-12-26 01:16:15 +08:00
lodev09
b156ad77d2
ci: maybe improve build-ios workflow 2025-12-26 01:10:06 +08:00
Jovanni Lo
917775ee07
feat: add elevation prop for Android and Web (#355)
* feat(android): add elevation prop

* feat(web): add elevation prop support
2025-12-26 00:52:40 +08:00
lodev09
dee02e15ea
fix(android): fix keyboard dismiss issue with backdrop (#351) 2025-12-25 22:59:27 +08:00
Jovanni Lo
b09440d548
fix(ios): use native backgroundEffect for blur on iOS 26.1+ (#350)
* fix(ios): use native backgroundEffect for blur on iOS 26.1+

- Extract blur style mapping into BlurUtil
- Refactor setupBackground and setupGrabber into helper methods
- Add sheet getter for cleaner code
- Use native UIBlurEffect on backgroundEffect when only blurTint is set (iOS 26.1+)

* refactor: rename blurTint to backgroundBlur
2025-12-25 17:59:55 +08:00
lodev09
7b90d512c0
chore: release 3.5.8 2025-12-25 01:11:15 +08:00
lodev09
b6bd082bc8
feat: add headerStyle and footerStyle props 2025-12-25 01:10:34 +08:00
lodev09
2172a8d130
chore: release 3.5.7 2025-12-25 00:30:27 +08:00
lodev09
64a697801f
fix(web): remove pointerEvents from footer container 2025-12-25 00:29:50 +08:00
lodev09
f4cb740c20
chore: release 3.5.6 2025-12-24 22:58:31 +08:00
lodev09
e66a9b491b
feat(web): add 'none' option to stackBehavior prop
- When stackBehavior is 'none', uses regular BottomSheet instead of BottomSheetModal
- Bypasses the modal stack entirely for non-modal sheet behavior
- Updated types, web implementation, and documentation
2025-12-24 22:56:56 +08:00
lodev09
970183e11f
feat(web): add shadow for web sheet 2025-12-24 22:36:09 +08:00
lodev09
b46112546a
chore: release 3.5.5 2025-12-24 10:50:41 +08:00
lodev09
274d936cdb
fix: remove pointerEvents from header, footer and host view 2025-12-24 10:49:46 +08:00
lodev09
781f666349
chore: release 3.5.4 2025-12-23 09:03:06 +08:00
lodev09
0ac529bded
fix(ios): defer initial presentation until view is in window hierarchy
When using react-native-screens, the sheet was presenting on the wrong
view controller because finalizeUpdates was called before the screen
transition completed and the view was added to the window.

This fix defers the initial presentation by:
- Adding a pendingInitialPresentation flag
- Only presenting when the view is confirmed to be in a window
- Using didMoveToWindow to handle pending presentations

Fixes issue where sheet would appear on the previous screen instead of
the currently presented screen.
2025-12-23 09:00:57 +08:00
lodev09
69216b0076
chore: release 3.5.3 2025-12-23 03:51:58 +08:00
lodev09
3f78fe5423
fix(ios): ignore TrueSheetView in scroll view pinning traversal 2025-12-23 03:51:06 +08:00
lodev09
c7c1a9ccee
chore: release 3.5.2 2025-12-22 20:31:55 +08:00
lodev09
d82046eb85
fix(android): sheet showing briefly when navigating within a stack 2025-12-22 20:28:58 +08:00
lodev09
2e4494024f
docs: update docs 2025-12-22 00:57:12 +08:00
lodev09
bf8c5cee03
chore: release 3.5.1 2025-12-21 23:33:28 +08:00
lodev09
cece31ba27
fix(android): parent stacking after rn-screen dismissed 2025-12-21 23:00:35 +08:00