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
Even if you type the word that exists in the options, the box will flash as the load is occuring
Expected behaviour:
I'd expect, unless the user provides a loading state, that old data from the (n-1) length query is replaced with new data. Skip the isOpened flash all-together.
Observed behaviour:
There's a loading state in between, which causes a lack of data and a flash, even for really fast responses.
Workaround:
I literally can't. I've tried passing in my own data via async queries, but react-mentions appears incapable of handling data from useState passed in unless it's reacting specifically to an async query in the data prop. I would love it if the entire thing was reacting to the data prop, so I could work around this issue myself instead.
The text was updated successfully, but these errors were encountered:
Steps to reproduce:
Expected behaviour:
Observed behaviour:
Workaround:
The text was updated successfully, but these errors were encountered: