👋 Hi there,
I’ve got a form with a couple of input fields and textareas inside a modal. The modal has the v-click-outside directive setup to close the modal. This behaviour is well accepted by our users. However, there is one problem: if the user tries to select the text inside a prefilled input field and overshoots the input field as well as the modal and the pointer stops outside the modal, the modal is consequently closed.
Is there an elegant way to check whether the Pointer Event was the result of a dragging event?
👋 Hi there,
I’ve got a form with a couple of input fields and textareas inside a modal. The modal has the v-click-outside directive setup to close the modal. This behaviour is well accepted by our users. However, there is one problem: if the user tries to select the text inside a prefilled input field and overshoots the input field as well as the modal and the pointer stops outside the modal, the modal is consequently closed.
Is there an elegant way to check whether the Pointer Event was the result of a dragging event?