W
W
WizardW2021-04-27 08:59:24
Vue.js
WizardW, 2021-04-27 08:59:24

Has anyone dealt with vue-clickaway and experienced a click inside, a release outside and the modal not closing?

Hello. Who had experience with vue-clickaway, there is a question, how they solved the nuance when clicking on the modal, then without releasing the mouse button moved the cursor away from the modal area and released the mouse button - it is assumed and required that the modal does not close, in fact it closes .
Who dealt with this?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
Alexey Yarkov, 2021-04-27
@yarkov Vue.js

There are 3 lines of code)) Write your own implementation of the directive and everything will be as it should.

A
Alexander, 2021-04-28
@Aleksandr-JS-Developer

Used vue-clickaway, after a couple of features, this thing just stopped working normally. We washed down our implementation for 20 lines, it still works without a hitch)

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question