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

Dialog is opened only once #997

Open
shb001 opened this issue Sep 4, 2019 · 1 comment
Open

Dialog is opened only once #997

shb001 opened this issue Sep 4, 2019 · 1 comment

Comments

@shb001
Copy link

shb001 commented Sep 4, 2019

HI,
I am trying to use the Dialog component for displaying a single Item in detail when user clicks on one of the list of Items in Home page. Some how dialog is opened only once.
Can't we open dialog more times? Even setting open = true does not help.

Anyone has Idea?

@ghost
Copy link

ghost commented Sep 6, 2019

This problem occurs in two occasions.

  1. When the esc key is pressed to exit the modal.

  2. When you click outside the modal to exit it.

This is because the same component does not update its status on these events. Can a solution be added to this from the same component or will these cases have to be handled on behalf of the developer?

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