vaadin-component-factory / popup

Java API for vcf-popup
https://componentfactory.app.fi/popup-demo
Apache License 2.0
1 stars 6 forks source link

Change the default behaviour of clicking outside of the popup #25

Open wtomee opened 6 months ago

wtomee commented 6 months ago

So the default behaviour of clicking outside of the popup is to close it. Thats right.

I could not find a way to disable this behaviour. Are there any plans to have an API like disableHideOnClickOutside? Is there any workaround to have a Confirm Dialog like behaviour for the Popup component?

jameskerrtaskize commented 2 months ago

We could do with this so we can workaround https://github.com/vaadin/flow-components/issues/6478

jcgueriaud1 commented 1 week ago

In the version 24.1.0, the Popup should stay open if you're clicking in a inner overlay (like Select or Combobox).

But I didn't add a disableHideOnClickOutside