autofocus on search page breaks navbar dropdown in chrome browser
This issue was not caused by the autofocus.
Instead, the onpopstate event forced the body to reload, not the whole document, leading to variable/element binding issues in bootstrap. In chrome and safari, onpopstate is triggered after a page load, while firefox only triggered this event on change of the history
To fix history in all browsers, we now use history.js
Log in to post comments