signavio / react-mentions

@mention people in a textarea
https://react-mentions.vercel.app
Other
2.42k stars 566 forks source link

fix: suggestions container that was not aligned with the caret position #661

Closed lagroms closed 1 year ago

lagroms commented 1 year ago

Fixed the suggestions container that was not aligned with the caret position

Fixes #626 #656 #612 #425

What did you change (functionally and technically)?

Removed the dependency in useEffect for the Highlighter component that was not updating the caret position

Checklist (remove this list before you submit the PR)

vercel[bot] commented 1 year ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
react-mentions ✅ Ready (Inspect) Visit Preview 💬 Add feedback May 24, 2023 1:54pm
changeset-bot[bot] commented 1 year ago

🦋 Changeset detected

Latest commit: 3dea981ae2890d27574362eac74a0f80477996dc

The changes in this PR will be included in the next version bump.

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR