Skip to content
This repository has been archived by the owner. It is now read-only.

Only resetMatches when showing matches. #3119

Closed
wants to merge 1 commit into from

Conversation

@mwinkels
Copy link
Contributor

mwinkels commented Dec 17, 2014

Make the dismissClickHandler less aggressive by only resetting matches when matches are being shown. Use $apply insetad of $digest.

Make the dismissClickHandler less aggressive by only resetting matches when matches are being shown. Use $apply insetad of $digest.
@wesleycho
Copy link
Member

wesleycho commented Jul 30, 2015

This needs tests around the $apply change.

If that change is undone and $digest is kept, I would be happy to merge this as is though.

@wesleycho
Copy link
Member

wesleycho commented Aug 1, 2015

Merging this without $apply change.

@wesleycho wesleycho closed this in 97e077e Aug 1, 2015
tmcgee123 pushed a commit to tmcgee123/bootstrap that referenced this pull request Aug 10, 2015
- Resets matches only when matches are present to avoid extra $digest

Closes angular-ui#3119
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

None yet

3 participants
You can’t perform that action at this time.