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

Input resets to initial position when using commands without selecting text #63

Open
stormcleric opened this issue May 2, 2017 · 1 comment

Comments

@stormcleric
Copy link

Hi there,

The problem I'm facing is activating/deactivating bold/italic and other commands withouyt selecting text.

When doing so, strange things happen:

  • Text input position reset.
  • Bold/whatever not being applied
  • Bold/whatever is applied but after a few chars the input position resets.
@stormcleric
Copy link
Author

stormcleric commented May 8, 2017

I've seen that the problem arises when setState is called inside the callback for text update event.

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

1 participant