We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8e3f4c6 commit 4eb67d5Copy full SHA for 4eb67d5
1 file changed
ios/TrueSheetView.mm
@@ -262,6 +262,12 @@ - (void)updateProps:(Props::Shared const &)props oldProps:(Props::Shared const &
262
263
- (void)updateState:(const State::Shared &)state oldState:(const State::Shared &)oldState {
264
_state = std::static_pointer_cast<TrueSheetViewShadowNode::ConcreteState const>(state);
265
+
266
+ // Initialize with _controller size to set initial width
267
+ if (_controller) {
268
+ [self updateStateWithSize:_controller.view.frame.size];
269
+ }
270
271
[_screensEventObserver startObservingWithState:_state.get()->getData()];
272
}
273
0 commit comments