Any way to set position of q-popup-proxy?
I’m putting a q-tree in a q-popup-proxy triggered by a q-btn. Is there a way to set the position of the popup, or am I stuck with the default?
Here’s a codepen showing the code (but it’s not working, even though it works fine at home)…
This is ‘ComboTree’ component that includes both an auto-complete feature made with q-select, and a drop-down menu triggered by a button that uses q-tree to provide a hierarchical set of categories. User can select a category at any level of the tree.
It’s working fine for me, except in the codepen but I would like the drop-down menu in the q-popup-proxy to be centered under the input box instead of over to the side.
dobbel last edited by
you can look at
offsetor one of the other passthrough props of Qmenu and Qdialog.
I fixed it! Just used q-menu instead of q-popup-proxy. q-menu has anchor and self props. Still learning my way around this great framework.