Dropdowns on profiles hang in view on page change

Repro:

  1. Go to profile preferences, open a dropdown
  2. Go back or forwards in your browser (clicking away doesn’t have such an effect)

You can reload the page again to get rid of it.

4 Likes

Weird Ember bug @eviltrout worth a look, was able to easily repro on chrome.

Thanks for letting me know! The code that was tearing down select2 did it in a really weird way. It’s fixed in this commit:

https://github.com/discourse/discourse/commit/5bf7f3f4b568852efd0d383a98930c2558195333

3 Likes