-
Notifications
You must be signed in to change notification settings - Fork 4.3k
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
[RNMobile] Added auto opening of media upload options to Gallery block v2 #36757
[RNMobile] Added auto opening of media upload options to Gallery block v2 #36757
Conversation
Size Change: +30 B (0%) Total Size: 1.1 MB
ℹ️ View Unchanged
|
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.
Good catch @jd-alexander 🏅, LGTM 🎊 !
Tested on Simulator iPhone 12 Pro Max (iOS 14.5) and Samsung Galaxy S20 FE 5G (Android 10).
Thanks for the review @fluiddot 🙇🏾 |
Gutenberg-Mobile PR
wordpress-mobile/gutenberg-mobile#4277Description
In #25940 the
autoOpenMediaUpload
functionality for the Gallery block was removed in the v2 implementation that allows the Gallery block to be a wrapper around Image blocks utilizing InnerBlocks.This PR reintroduces this functionality since it is currently supported by v1, and is causing inconsistency with the different WordPress sites that utilize the Gallery block functionality, as self-hosted sites and non self-hosted sites are utilizing the different versions of the Gallery block.
How has this been tested?
Pre-requisite
Utilize a Simple Site for these tests.
Screenshots
Before
Screen.Recording.2021-11-22.at.8.41.06.PM.mov
After
Screen.Recording.2021-11-22.at.8.50.58.PM.mov
Types of changes
The changes introduce
MediaPlaceholder
functionality fromv1
edit.js
to the currentedit.js
.Checklist:
*.native.js
files for terms that need renaming or removal).