Skip to content
This repository has been archived by the owner on May 29, 2019. It is now read-only.

Dropdown performance: don't call removeClass for the initial load #5341

Closed
wants to merge 4 commits into from
Closed

Dropdown performance: don't call removeClass for the initial load #5341

wants to merge 4 commits into from

Conversation

jburson
Copy link
Contributor

@jburson jburson commented Jan 25, 2016

Dropdowns: Radically speed up the initial load when there are multiple dropdowns on a page, by only calling add/removeClass when the open state is actually changed.

@wesleycho

…ically improves speed when there are multiple dropdown on a page
@jburson jburson changed the title Performance: don't call removeClass for the initial load Dropdown performance: don't call removeClass for the initial load Jan 25, 2016
@wesleycho wesleycho added this to the 1.2.0 milestone Feb 5, 2016
@wesleycho
Copy link
Contributor

LGTM - thanks for this improvement!

@wesleycho wesleycho closed this in 9c0acf6 Feb 5, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants