Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
When website has a lot of users the autocomplete becomes slow.
Each keyup sends an ajax request and requests for less letters can take longer than requests sent for more letters.
It results in the dropdown replaced with the older suggestions.
I think we need to cancel the requests when we have new ones.
Comment | File | Size | Author |
---|---|---|---|
#3 | private_message-cancel_ajax-3142633-2.patch | 1.08 KB | alt.dev |
|
Issue fork private_message-3142633
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #2
artem_sylchukThis sets the 50ms timeout for the input and cancels it if user continues to type.
Comment #3
alt.dev CreditAttribution: alt.dev at DevBranch, Drupal Ukraine Community commentedAdapted the patch for version 2.0 of the module.
Comment #6
artem_sylchuk