You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Description
If you're making an async request to the server in the mentions plugin, it's possible to get the mention list to appear in the wrong place.
Steps to reproduce the bug
Steps to reproduce the behavior:
Type @ to open the mentions list
Quickly type a letter before the items function has time to resolve. e.g @a
You'll notice for a split second the mentions list appears in the top left before snapping to the correct place
CodeSandbox
I created a CodeSandbox to help you debug the issue, it's using the code from the mentions docs except I've added a setTimeout which emulates a 300ms response time from the server.
Description
If you're making an async request to the server in the mentions plugin, it's possible to get the mention list to appear in the wrong place.
Steps to reproduce the bug
Steps to reproduce the behavior:
@
to open the mentions listitems
function has time to resolve. e.g@a
CodeSandbox
I created a CodeSandbox to help you debug the issue, it's using the code from the mentions docs except I've added a
setTimeout
which emulates a 300ms response time from the server.Expected behavior
The mention list always appears next to the cursor.
Screenshot, video, or GIF

Environment?
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: