question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Bug: cjk words are composed in an incorrect way on iOS devices

See original GitHub issue

Lexical version: 0.3.9

Steps To Reproduce

  1. Visit playground.lexical.dev from iOS device.
  2. Enter something in Korean or any other cjk character.

https://user-images.githubusercontent.com/92355790/184302793-85cfe8a8-bd83-4e77-8eb5-d2238329abed.MP4

Link to code example:

The current behavior

  • It composes a Korean word in an incorrect way.
    • For example, when you type and then , it should be , but it becomes ㅇ이.
    • In addition, if there is a character following it, the character is deleted.

The expected behavior

  • It composes a word in a correct way.
  • It doesn’t delete a character following it.

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:8 (3 by maintainers)

github_iconTop GitHub Comments

8reactions
trueadmcommented, Aug 22, 2022

Looking into this more, it actually has nothing to do with composition. It’s because we aren’t handling the deleteContentBackward event properly here with Safari. I’ll have a fix up later today.

2reactions
trueadmcommented, Aug 14, 2022

Not at all, I’ll take a deep dive into this issue when I’m back from parental leave. 😃

Read more comments on GitHub >

github_iconTop Results From Across the Web

No results found

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found