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

fix(tooltip): Remove the $locationChangeSuccess close behaviour #5360

Closed
wants to merge 1 commit into from

Conversation

vai
Copy link
Contributor

@vai vai commented Jan 28, 2016

This fixes #5337

Removed the code for handling location change, and removed the corresponding test.

@Foxandxss
Copy link
Contributor

Weird, I checked that to be the problem on that issue and was negative for me. I tried this PR with the plunker and works: http://plnkr.co/edit/EF0uJQijkuBt3InRNkUW?p=preview

Clearly I checked wrong.

@wesleycho
Copy link
Contributor

On the original Plunker, if you click the link, the popover will go away - this PR fixes it. It may have been an old hack to deal with some garbage collection issue that has since been fixed.

@Foxandxss
Copy link
Contributor

yeah yeah, I checked if clicking on the new state would trigger that code and it didnt so I thought it wasn't the problem. Now with it gone, it works as expected. Weird but LGTM.

@wesleycho wesleycho added this to the 1.1.2 milestone Jan 28, 2016
@wesleycho wesleycho closed this in 48c9cd8 Jan 28, 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.

BUG: Popover closes itself even though popover-is-open is set to true
3 participants