-
-
Notifications
You must be signed in to change notification settings - Fork 39
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
Stop mentions dropdown from jumping around #48
Conversation
askvortsov1
commented
Jun 30, 2020
•
edited
Loading
edited
- Cache the order in which users are returned by the API to stop the mentions list from jumping around
- Only ping the api when 2 or more characters are entered
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ok for me.
The users jumping around once more are loaded is another issue I'm experiencing frequently but I guess this will be for another time as it's a bit more complex than this.
Is that an issue you're still seeing in this PR? The PR should actually mostly fix that I believe |
I have not tested. But I don't think this PR changes anything to the behavior of the user list. It just changes the order of the post list and user list. That's fine, we'll revisit the other issues later. I'll need to check whether a GitHub issue exists for what I'm mentioning. |
@clarkwinkelmann since I pretty much completely changed up this PR, I've rerequested your review. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I have not tested the PR but looking at the code this looks good 👍
Cache the order in which users are returned by the API to stop the mentions list from jumping around Only ping the api when 2 or more characters are entered
Cache the order in which users are returned by the API to stop the mentions list from jumping around Only ping the api when 2 or more characters are entered