QDialog inside QBtnDropdown Item #17752
Unanswered
toytonic
asked this question in
General - Components / Directives / etc
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
When trying to colocate a QDialog inside a QBtnDropdown, I cannot make the item closing the dropdown and at the same time opening a dialog (both via
v-close-popup
directive or callinghide
on the ref). I guess it's because of the nesting which maybe is not how dialogs are intended to be used. You could setpersistent
on the dropdown to make it work but that's not what we want. Still we would very much like to colocate the logic of opening a dialog to the originator (in this case a menu item).I tried with the following structure:
Codesandbox available here: https://codesandbox.io/p/devbox/frosty-sun-sdwfxc?file=%2Fsrc%2Fpages%2FIndexPage.vue%3A25%2C4
Beta Was this translation helpful? Give feedback.
All reactions