I've run across an instance where the mobile dropdown can get duplicated. The instance occurred for me when the mobile dropdown was triggered to display at the appropriate size, then a modal was loaded on the page through a link. When the modal loads it refreshes the page underneath but doesn't reset the nav to its original state and runs mobileSelect again. Thus creating another version.

My workaround was to modify the mobileSelect.js file to check if select box already existed when also checking the width of the page.

Comments

tsi’s picture

Issue summary: View changes
Status: Active » Closed (cannot reproduce)

Cleaning up.
Sorry for not commenting, please re-open if that is still relevant.