vue-js-modal icon indicating copy to clipboard operation
vue-js-modal copied to clipboard

fix: click-event in draggable modal not triggered on mobile device

Open coderi421 opened this issue 2 years ago • 0 comments

Hello, Yev Vlasenko @euvl ~ At first, thank you for your good plugin~

In the process of using the dragable model, I found that the click-event of the mobile device would has some problems, so I made the following correction.

  1. add a "undraggableElement" prop params for configuring undraggable elements, which is more convenient to use
  2. modified the "isInput" method and the INPUT_NODE_NAMES constants to better adapt to the the mobile`s click-event

The above fix can solve the problem on mobile~

Limited ability, make it better~

coderi421 avatar Mar 20 '23 09:03 coderi421