-
Notifications
You must be signed in to change notification settings - Fork 4.2k
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
[Mobile] - Block selection - Expand tapping on nested blocks directly #50672
Merged
geriux
merged 5 commits into
trunk
from
rnmobile/expand-tapping-on-nested-blocks-directly
May 18, 2023
Merged
[Mobile] - Block selection - Expand tapping on nested blocks directly #50672
geriux
merged 5 commits into
trunk
from
rnmobile/expand-tapping-on-nested-blocks-directly
May 18, 2023
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
geriux
added
[Status] In Progress
Tracking issues with work in progress
Mobile App - i.e. Android or iOS
Native mobile impl of the block editor. (Note: used in scripts, ping mobile folks to change)
Mobile App - Automation
Label used to initiate Mobile App PR Automation
labels
May 16, 2023
Size Change: -3.73 kB (0%) Total Size: 1.39 MB
ℹ️ View Unchanged
|
geriux
removed
the
Mobile App - Automation
Label used to initiate Mobile App PR Automation
label
May 17, 2023
dcalhoun
approved these changes
May 17, 2023
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.
A nice improvement for block selection to align more closely with the web editor. We should likely add a release note for this change. 🚀
4 tasks
dcalhoun
added a commit
to wordpress-mobile/test-cases
that referenced
this pull request
Jun 28, 2023
This behavior was modified in WordPress/gutenberg#50672.
dcalhoun
added a commit
to wordpress-mobile/test-cases
that referenced
this pull request
Jun 28, 2023
* docs: Remove broken reference to removed Columns test case This case was removed in 2356f5d. * docs: Update Groups test to mirror deepest-descendent-first approach This behavior was modified in WordPress/gutenberg#50672. * docs: Buttons radius interface uses stepper buttons * docs: Capture known color settings issue
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
Mobile App - i.e. Android or iOS
Native mobile impl of the block editor. (Note: used in scripts, ping mobile folks to change)
[Package] Block editor
/packages/block-editor
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Related PRs:
What?
This PR enables tapping on nested blocks directly as a follow-up of previous code changes where it was enabled for text-based blocks.
Why?
To keep consistency with the web editor so both have the same behavior when tapping on blocks.
How?
By updating the
onFocus
code to use theclientId
instead of looking for the first block to select depending on the nested level.Testing Instructions
Testing Instructions for Keyboard
N/A
Screenshots or screencast
Before.mov
After.mov