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

Non modal popup opens modal popup within the same dialog #52

Open
apalik opened this issue Dec 10, 2020 · 1 comment
Open

Non modal popup opens modal popup within the same dialog #52

apalik opened this issue Dec 10, 2020 · 1 comment

Comments

@apalik
Copy link

apalik commented Dec 10, 2020

I support an old VB.NET application that currently can only be executed on IE. I am updating it to use Edge/Chrome. There are hundreds of popup that use window.showModalDialog. This polyfill works very nicely for my needs (thanks so much) especially because the application is being rewritten but will take a long time. Except I have one problem. There is a non modal popup that needs to remain non modal. It opens a number of modal popups. The polyfill will open the modal popup within the container of the non modal popup. If the modal popup is larger than the first popup, it cannot extend beyond the borders of the first popup. I need to grab the parent of the first popup. I am a novice to JQuery (enough to fumble my way around). Can you help with what I need to do to accomplish this? Thanks.

@apalik
Copy link
Author

apalik commented Jan 27, 2021

I ended up just increasing the size of the original popup so any new popup opened from the original could fit inside.

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