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

I keep encountering this DotVVM error when hitting ESC key after the bp:ModalDialog is already closed by custom buttons inside its markup #1801

Open
liviriniu opened this issue Mar 19, 2024 · 1 comment

Comments

@liviriniu
Copy link

liviriniu commented Mar 19, 2024

image

image

This does not happen when closing it just by ESC key.

It happens if hitting ESC after the ModalDialog is already closed by either this button:
image

or this button:
image

Close() is a trivial inherited method:
image

@liviriniu
Copy link
Author

If I open and then close the ModalDialog by a custom close button in a repeated fashion, let's say 3 times in a row and after all this, while the modal is closed I hit Esc key repeatedly, the error is shown exactly 3 times in the dev console. So it accumulates somewhere, interesting.

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

No branches or pull requests

2 participants