-
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
[Android Aztec] - Fixes refresh issues on merging blocks #212
Conversation
…g-mobile into issue/167-merge-refresh-android * 'master' of https://github.com/wordpress-mobile/gutenberg-mobile: (35 commits) Point to latest from RecyclerViewList Point to latest react-native-aztec Adding yarn.lock field for `turbo-combine-reducers`. Added turbo-combine-reducers dependency to fix failed builds Update subrepo ref to point to master again Update subrepo ref No need for change of default Jest platform Update subrepo ref Update subrepo ref to point to master again Update subrepo ref Update subrepo ref Update subrepo ref Update subrepo ref Add symlink in symlinked-packages-in-parent for notices Add symlink for notices package to fix the failing CI tests Update subrepo by merging from master Add support for nextpage block Fix lint warnings Mocking `react-native-gutenberg-bridge` to make iOS tests pass. From: jestjs/jest#2208 (comment) rn-gutenberg-bridge: Adding dumb iOS implementation to avoid errors. ...
Hmm, doesn't seem to work for me when following the steps @daniloercoli . The second block completely disappears. I think it did work only once though thought my tests. |
Not quite sure I've got the problem you're experiencing. |
…g-mobile into issue/167-merge-refresh-android * 'master' of https://github.com/wordpress-mobile/gutenberg-mobile: Use a temporary symlink to parent wpandroid Remove ref to turbo-combine-reducers Update GB hash Add `turbo-combine-reducers` dep and fix tests and build errors Update GB hash Remove the code that does block the merging of different types blocks
If it's any help, here's a video from my Pixel 2 XL where the second blocks just disappears on "backspace", along with its contents: https://cloudup.com/cSFnyuS3jpF |
I think the problems with the caret that jumps to another block, and the other problem with the content of the 2nd block not being copied into the first, live already in Will open issues for those problems. This PR just adds a delay on the |
I think I have more info. Try to make changes to both blocks before merging them @daniloercoli . |
Verified that the merging behavior is not working OK for me on |
It should work without making changes to blocks. |
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.
Put the caret at the beginning of the 1st para block, and try to merge it with the Heading block above.
Thanks Danilo, tried those steps and it works better. Will give the 👍 here and continue with the follow up PR I see you opened already (#223).
Description:
Fixes refresh issues in Android when merging blocks.
Moves #167 forward.
Related PRs:
Aztec RN Wrapper PR: wordpress-mobile/react-native-aztec#67 [Merged]
Testing: