Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

$rootScope versus back buttoning out of modal #49

Open
darylbrowneef opened this issue Jan 22, 2016 · 0 comments
Open

$rootScope versus back buttoning out of modal #49

darylbrowneef opened this issue Jan 22, 2016 · 0 comments

Comments

@darylbrowneef
Copy link

Our team encountered this problem:

  • we raise a welcome modal on a given page
  • user hits back button and welcome modal remains

Programmatically closing the modal registers as a dismissal, which
prevents it from opening on user's return to the page.

Our solution was to give the modal a local scope. Is there a good reason to put/have the modal in $rootScope?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant