You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
I want to set the menu to transport-center if there is enough space to show the whole menu below input.
Describe the solution you'd like
would be nice to get a ref to the menu itself to get its size rather than use element query.
for example
const menuRef = datepicker.menuRef()
then I could use vueuse
const { height } = useElementBounding(menuRef)
and do wonders with it
Describe alternatives you've considered
use native query selector to get the dpmenu wrapper and check. not elegant. I checked documentation for ways to wrap the menu itself to set a ref, but no dice. another way to set ref on action buttons . not elegant too
The text was updated successfully, but these errors were encountered:
Is your feature request related to a problem? Please describe.
I want to set the menu to transport-center if there is enough space to show the whole menu below input.
Describe the solution you'd like
would be nice to get a ref to the menu itself to get its size rather than use element query.
for example
const menuRef = datepicker.menuRef()
then I could use vueuse
const { height } = useElementBounding(menuRef)
and do wonders with it
Describe alternatives you've considered
use native query selector to get the dpmenu wrapper and check. not elegant. I checked documentation for ways to wrap the menu itself to set a ref, but no dice. another way to set ref on action buttons . not elegant too
The text was updated successfully, but these errors were encountered: