-
Notifications
You must be signed in to change notification settings - Fork 58
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
Tapping on a Page Break block does make the block-holder selected but keep the keyboard up, and the caret to the Para block #308
Comments
Added this to the Alpha milestone but it's not a blocker for the Alpha. |
I think this is a duplicate of #197?
I think we want this for the alpha, focus should follow the selected block, it's really confusing when it doesn't |
Re-opened this since the fix introduced a problem with the keyboard. (#383) |
The tentative fix for this issue is available here: WordPress/gutenberg#12765 |
As per chat convo, this here https://github.com/facebook/react-native/blob/1151c096dab17e5d9a6ac05b61aacecd4305f3db/ReactAndroid/src/main/java/com/facebook/react/views/textinput/ReactEditText.java#L46 should be the right direct to go (removes the nasty side effect that EditTexts have, which is that focus is always maintained on one of the EditTexts). |
For reference, I think I managed to work around that by adding this in the app: However that didn't solve the keyboard being dismissed. I think the logic was right to dismiss the keyboard from RichText on split, but then the new block wasn't regaining focus. My hypothesis is that we handle the focus on |
This is related to #306 - This time the selection of Page Break block happens by the "user" with the cursor/tapping, instead of programatically like in #306, but the end result is the same.
Steps to repro:
The text was updated successfully, but these errors were encountered: