Dropdowns on profiles hang in view on page change


(NomNuggetNom ) #1

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.


(Sam Saffron) #2

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


(Robin Ward) #3

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


(Sam Saffron) #4