-
Notifications
You must be signed in to change notification settings - Fork 231
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
Popover becomes dismissible after another popover on the page is opened #248
Comments
After much more experimentation of settings, I found that setting dismissible:false on the other popover made the desired popover not close. It seems highly error prone in that to make one popover dismissible, we need to set every other popover on the page to be dismissible as well. This is likely something that needs to be investigated deeper into the webuiPopover core code. |
So, my proposed change here is the "dismissible" be on a per-popover basis, rather needing set all popovers to be non-dismissible for each popover to be non-dismissible. |
I've solved the issue. Will submit a PR later today. |
@sbrodkey how did you solve the issue? I encountered the same problem where I have a non-dismissible popover but when I open a dismissible one my non-dismissible popover turns into a dismissible. :( |
@sbrodkey or @gvcayetano did you find a workaround eventually? |
If I enter the page, open my desired popover, and click outside the popover it stays open.
If I then open another popover, close it, open my desired popover and click outside, the popover closes! It also closes when I choose an option from a select box in my popover.
I've tried every possible setting to no avail, including key ones such as dismissible: false and trigger:manual. Even with both of those set, it still closes upon outside click.
Is there any possible way to prevent my desired popover from closing (due to an outside click or select option click) simply due to the fact that I opened another popover?
The text was updated successfully, but these errors were encountered: