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

Modal reappears after closing and refreshing the page #715

Open
jchappelle opened this issue Dec 1, 2017 · 2 comments
Open

Modal reappears after closing and refreshing the page #715

jchappelle opened this issue Dec 1, 2017 · 2 comments

Comments

@jchappelle
Copy link

I show the Modal via Modal.show(true).

I hide the Modal via the user clicking a ModalCloseButton.

When it closes, and I click any other Ajax link or submit link on the page, the Modal reappears. In fact if I override the onClose method in my Modal subclass and put target.add(getParent()); then the modal will close and reopen when I press the close button.

I'm not sure what I'm doing wrong or if it's a bug but I'd really like to get this working soon. I'm migrating a large wicket app over to use this framework and this is one of the last things on my list to convert. I could just style our existing Modal windows for now but I like the API for the bootstrap Modal.

Thanks for your time.

@martin-g
Copy link
Owner

martin-g commented Dec 1, 2017

Only a quickstart app can help us debug this problem!

@jchappelle
Copy link
Author

Here's a quick start.

bootstrap-modal.zip

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