-
Notifications
You must be signed in to change notification settings - Fork 6.7k
Typeahead is-open change via document click does not trigger digest on original scope #5467
Comments
This looks like a good catch. @wesleycho, thoughts? |
I've encountered the same problem +1 |
Found temporary workaround:
I used click-outside directive to manipulate typeaheadIsOpen variable; |
Hi mkozhukharenko, |
Does anyone has a fix for this isssue? |
@azizmaredia20, hi there. Please understand that we are all unpaid volunteers on this team, managing a VERY popular OSS project. It maybe as simple as making the change indicated above, but we would need to make sure it doesn't have any negative side effects. I've flagged it as needing investigation and we will get to it. You will need to be patient. Barring that, you could always fork the repo and make the change yourself using a custom build until this issue is fixed. |
@icfantv, Yes sure i will fork the repo and try to solve the issue |
@azizmaredia20 I'm using IamAdamJowett/angular-click-outside directive |
Similar to the recently fixed issue with 313ba83, we should change this to |
When typeahead's drop-down is open, clicking outside of it closes the drop-down but variable bound to is-open does not change to false. Here's a minimal test case.
Changing 'scope.$digest()' to 'originalScope.$digest()' here seems to fix the problem.
The text was updated successfully, but these errors were encountered: