Can the positioning of the dialog component be specified around a component?
-
For example, I want to pop up a dialog box below the input box when the input box gets focused.
-
-
@s-molinari It seems to solve the problem, but after I click the input box to pop up the proxy component, the input box loses focus. When I want to implement the function, the hot search keywords are displayed at the same time when the user clicks the input box
-
Can’t help you much really. Try making a codepen and explain your use case better. You also do know, the QSelect component can do an autocomplete too?
https://quasar.dev/vue-components/select#Filtering-and-autocomplete
Scott
-
@s-molinari Thanks for your help, i will think about the solution again
-
I think better use a menu, popupproxy seem to take the focus off from the parent, due it’s nature having 2 modes a dialog/dropdown menu.
-
Ah yes. Good point. I didn’t realize focus would be an issue.
Scott