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

Hidden modal with the transition property will never close. #44

Open
DmitriiTurlychkin opened this issue Jan 24, 2019 · 1 comment
Open

Comments

@DmitriiTurlychkin
Copy link

Hi!
I faced an issue when we can't close modal window.
If we going to close a modal window which has the transition property, modal won't close.

Because removing will happen only on onTransitionEnd event
(https://github.com/BBVAEngineering/ember-modal-service/blob/master/addon/components/modal.js#L177)
But onTransitionEnd will never happen because the modal window is already hidden.

@adrigzr
Copy link
Contributor

adrigzr commented May 8, 2019

Hi, @DmitriiTurlychkin

If it is hidden, it should be closed. How do you have a modal already hidden but not closed?

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

2 participants