-
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
List block split problem with nested lists #874
Comments
👋 @koke , I think this issue is annoying but not a blocker for the code-freeze to re-enable lists, do you think otherwise perhaps? |
I don't think it's a blocker right now (we have disabled the nested list buttons, right?), but let's put it on the project and get it sorted out for v2. |
@hypest I tested this on iOS and it now looks ok, are you still seeing this on Android? |
The issue is still happening on Android when using an external keyboard, like Vysor. But, step 3 doesn't happen when using the built-in virtual keyboard. Step 5 though does happen always on Android, even with the virtual keyboard. On iOS, the issue still happens when running the demo app on an iPhone X 12.2 simulator. Gutenberg-mobile hash: 42d8443 |
@hypest can you make sure you have the correct version of Aztec iOS by runinng |
I tried |
I've been testing this for a while, and my main conclusion is that all this issue happen if there a sync problem between the native version of the HTML and whatever the JS side creates. If the two string representations are not exactly the same in terms of text when you press Enter or press Delete we send an event from Native to JS that says we pressed Enter and a location. If the text doesn't match in one character the place you are seeing the cursor on the native component is not the same, the format library splits in a different place and we start to see strange results. |
List item creation has an issue that's not easy to describe. Look below for steps to reproduce.
To replicate:
(0. Using an external keyboard (like via Vysor) on Android)
1
char in it, which is now missing from the line above leaving that as "line 3"The text was updated successfully, but these errors were encountered: