Closed drm227 closed 3 years ago
I am using bootstrap-autocomplete with a element, and retrieving options from a REST service using the searchPost event. Everything works fine when I use the keyboard to scroll through the options and select one. But if I use the mouse to select an option, the location.hash value is changed to #! (causing the browser to push an entry onto its history stack). This breaks the hash-based routing that the single page application is using.
Stepping through the call stack shows that this is happening when in v.handle in jquery.min.js
If there is a workaround, please let me know.
Thanks, Dennis
Check the version you're using. It's an old behavior.
Upgrading from 2.3.5 to 2.3.7 made the problem go away.
I am using bootstrap-autocomplete with a
Stepping through the call stack shows that this is happening when in v.handle in jquery.min.js
If there is a workaround, please let me know.
Thanks, Dennis