Conversation
|
Size Change: 0 B Total Size: 1.19 MB ℹ️ View Unchanged
|
…_triggered_when_device_is_rotated
mchowning
left a comment
There was a problem hiding this comment.
Tested via both WPAndroid and WPiOS, and this is working well for me, but let's wait to hear what @guarani thinks before merging this because I know he's testing this as well.
It certainly makes it a bit confusing to have Android and iOS handle the BottomSheet differently during rotation. From what I can see it seems like Android calls the onClose function during rotation, whereas iOS does not. Just wanted to note that here for future me. 🙂
guarani
left a comment
There was a problem hiding this comment.
I left a comment, but this is working (tested on Android emulator).
guarani
left a comment
There was a problem hiding this comment.
@marecar3 and I agreed #25873 (comment) will be best left to a future PR, and fixed along with a similar issue here: #25265 (comment)
Yes and it could be a reason that maybe iOS doesn't recreate the View on rotation. |
Fixes: wordpress-mobile/WordPress-Android#13052
Gutenberg Mobile PR: wordpress-mobile/gutenberg-mobile#2710
How has this been tested?
Checklist: