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

mentionsIndexes become incorrect if we add additional text before the last mention #11

Open
hainhathoang88 opened this issue Nov 29, 2019 · 0 comments

Comments

@hainhathoang88
Copy link

Describe the bug
The start location of the mention will be incorrect if we go back and add additional text before the Mention.

To Reproduce
Steps to reproduce the behavior:

  1. Add the first mention. mentionsIndexes has start location 0
  2. Move the cursor to before the text, input "ABC"

Expected behavior
mentionsIndexes should have startLocation 3

Actual behavior
mentionsIndexes still have start location 0

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