Gutenberg: I can't input list blocks on my iPhone (when inputting Japanese)

Created on 23 Nov 2019  路  12Comments  路  Source: WordPress/gutenberg

Describe the bug
As the title says,I can't input list blocks on my iPhone when inputting Japanese.

To reproduce

  • Add a list block on your smartphone
  • Enter the first list in Japanese
  • The character you entered will disappear.
  • After a line break, move to the next paragraph block
  • When Delete is pressed at the beginning of a paragraph block, the second item in the list is generated for some reason.
  • Therefore, if you enter Japanese characters in two items in the list, the list item will become one.
  • If there is already a first item, a new line will be generated if you start a new line, but if you enter Japanese there, it will be combined with the first item again.

Screenshots
output

My Smartphone:
I'm using iPhone11.

  • OS: iOS 13.2
  • Browser : chrome
Needs Testing [Block] List [Feature] Writing Flow [Type] Bug

All 12 comments

Hi @ellatrix, does this issue rings any bell?

Thanks for the report! @jorgefilipecosta I haven't seen it before, and it's been a while since I touched to list block.
@torounit Have you seen this bug before, or maybe know someone that has?

@ellatrix
It doesn't seem to happen on Chrome on Android now. The list remains two.

Not tested on iPhone yet. ( I'm not an iPhone user. 馃槩 )

I can't reproduce the bug. My environment is below.

  • WordPress 5.3.2
  • iPhone7 (iOS13.3.1)
  • Chrome and Safari

I'm sorry, it seems to be a bug that only happens with my theme.
Twenty Twenty could not reproduce.
Investigate which code is the cause.

Thank you @ddryo, I'm closing the issue for now, if you have any further insights feel free to leave a comment.

@jorgefilipecosta
Finally, we were able to determine the cause of this bug.

If the "position: relative" style hits the li tag of the list block, the above bug seems to occur.

Thank you for the additional insights, I reopened the issue.

Thanks!

This bug is very serious.
@jorgefilipecosta

@jorgefilipecosta

I created a plugin to apply position: relative to the li tag of "list block" so that the bug can be reproduced.

reproduce_18708.zip

The name of the plugin is "Reproduce #18708".

With this plugin used, if you enter Japanese into the list tag from the iPhone, the following behavior will occur.

list_bug

This bug is very critical in Japan.

Because position: relative is commonly used, such as when adding a block style and using a list with icons.

cc: @ellatrix, @mcsf in case you can help.

Was this page helpful?
0 / 5 - 0 ratings