floating-vue icon indicating copy to clipboard operation
floating-vue copied to clipboard

feat: Close nested popups without closing parent(s)

Open vkolova opened this issue 1 year ago • 2 comments

Enable preventing of popup close from closing all parents. This PR aims to resolve https://github.com/Akryum/floating-vue/issues/874 .

This is especially useful in the cases where you use the Dropdown component for a "popup window" and you use the same component to implement fancy Select component. You want to be able to use the Select without the whole thing closing.

This PR proposes a new config setting hideParents, which is true by default as to not introduce issues with existing projects.

vkolova avatar Mar 06 '24 12:03 vkolova