-
Notifications
You must be signed in to change notification settings - Fork 4.7k
Fix invisible bottom sheet backdrop on Android #35557
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Animating the opacity for the initial modal results in the backdrop provided by `react-native-modal` to never transition from transparent to partially opaque black. The core issue was not idenfited, but it may relate to the experimental state of LayoutAnimation for Android. https://reactnative.dev/docs/layoutanimation
|
Size Change: 0 B Total Size: 1.07 MB ℹ️ View Unchanged
|
illusaen
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The changes look good to me.
|
Approved changes although you might want to look at that failing test... it doesn't look like an intermittent error. |
|
@dcalhoun, I'm seeing this behavior with the demo app (notice that the right side fills in after a delay). Is this a concern, or reproducible on WPAndroid? landscape-opacity.mov |
In the Demo app, I am able to reproduce the issue you mentioned on android-rotation-backdrop-delay.mp4Additionally, the WPAndroid app appears — for better or worse — to dismiss any editor modal whenever a rotation event occurs, so this particular issue does not occur. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Joining in the party 🎉 just to say that all three scenarios worked as expected for me too and I wasn't able to replicate the issue shown in Tanner's video in WPAndroid, due to the modal being dismissed.
|
Thanks @SiobhyB! |
…id-bottom-sheet-overlay
Attempt to resolve flaky, failing e2e tests.
* Fix invisible bottom sheet backdrop on Android Animating the opacity for the initial modal results in the backdrop provided by `react-native-modal` to never transition from transparent to partially opaque black. The core issue was not idenfited, but it may relate to the experimental state of LayoutAnimation for Android. https://reactnative.dev/docs/layoutanimation * Update change log * Empty commit to trigger rebuilds Attempt to resolve flaky, failing e2e tests.
* Release script: Update react-native-editor version to 1.63.0 * Release script: Update with changes from 'npm run core preios' * Update react-native-editor changlog for 1.63.0 * [RNMobile] Remove unneeded memoization dependency from useBlockEditorSettings (#35289) * Release script: Update react-native-editor version to 1.63.1 * Release script: Update with changes from 'npm run core preios' * Fix overflowing content for native Help screen (#35552) * Fix overflowing content for Help screen When navigating to a Help section child screen, the parent screen would remain visible outside of the container. Hiding the overflow of the containing element fixes this. The reason this occurred for the first time now is likely because it is the first time we have utilized the default navigation transitions for the platforms, which is provided by React Navigation. This means the screen animates from right to left on iOS, rather than a cross-fade. * Update change log * Fix invisible bottom sheet backdrop on Android (#35557) * Fix invisible bottom sheet backdrop on Android Animating the opacity for the initial modal results in the backdrop provided by `react-native-modal` to never transition from transparent to partially opaque black. The core issue was not idenfited, but it may relate to the experimental state of LayoutAnimation for Android. https://reactnative.dev/docs/layoutanimation * Update change log * Empty commit to trigger rebuilds Attempt to resolve flaky, failing e2e tests. Co-authored-by: Paul Von Schrottky <[email protected]> Co-authored-by: Carlos Garcia <[email protected]>
Related PRs
Description
Relates to wordpress-mobile/gutenberg-mobile#4104. Animating the opacity for the initial modal results in the backdrop provided by
react-native-modalto never transition from transparent to partially opaque black. The core issue was not idenfited, but it may relate to the experimental state of LayoutAnimation for Android.How has this been tested?
Help modal
Full-screen Cover Block Edit Focal Point
Full-screen Link Picker
Screenshots
Types of changes
Bug fix
Checklist:
*.native.jsfiles for terms that need renaming or removal).