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

What's the difference? #6

Open
ghost opened this issue Jun 30, 2018 · 3 comments
Open

What's the difference? #6

ghost opened this issue Jun 30, 2018 · 3 comments

Comments

@ghost
Copy link

ghost commented Jun 30, 2018

What's the difference betweeen this project and these below?

@Nantris
Copy link

Nantris commented Jul 12, 2018

One day react-contenteditable just stopped working for me. No clue why. It suddenly would not do anything but move my caret to the first position on every keystroke, resulting in backwards text.

<3 this project

@krue-doug
Copy link

I am also looking for an alternative to react-contenteditable, since that is buggy. This one doesn't seem to have a way to disable contenteditable

@Nantris
Copy link

Nantris commented Jul 30, 2018

@krue-doug I don't know if it helps, but you can use browser-specific CSS to disable modification perhaps:

-moz-user-modify: read-only;
-webkit-user-modify: read-only;

Alternatively you could use the onChange to force the state to remain the same no matter attempts to change it, I assume, though it's not great user experience.

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

2 participants