Skip to content
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

In mobile, the cursor is not moving to the next line after pressing the enter key. #107

Open
kishanGowda opened this issue Apr 9, 2023 · 2 comments

Comments

@kishanGowda
Copy link

pressed the enter key on my phone, but the cursor did not move to the next line after completing the correct sentence or giving space; only the cursor moved to the next line. If I enter the enter key, is the sentence correct or not? The cursor needs to move for the next line. in this version (0.7.17).

@SourabhKmrSingh
Copy link

SourabhKmrSingh commented Jul 8, 2023

Did you find any solution to this i am also facing same issue

@stump26
Copy link

stump26 commented Aug 4, 2024

I faced an issue where, in the compose state, pressing Enter would move to the previous line due to a bug in Quill. To solve this problem, I added the following configuration to the quill prop:

quill={{
  modules: {
    toolbar: false,
    keyboard: {
      bindings: {
        enter: {
          key: 13,
          handler: () => { setSelection() }
        }
      }
    },
  },
  placeholder: placeholder || 'Enter your content here.',
}}

This resolved the bug for me.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants