mirror of
https://github.com/KevinMidboe/vue-js-modal.git
synced 2025-10-29 18:00:20 +00:00
Fixed click event not working on dragagble modals and inputs now are not draggable
This commit is contained in:
@@ -22,6 +22,8 @@
|
|||||||
implement enabled web services after plug-and-play ROI. Distinctively impact inexpensive schemas before installed base imperatives. Holisticly benchmark pandemic process improvements without wireless experiences. Efficiently create worldwide partnerships
|
implement enabled web services after plug-and-play ROI. Distinctively impact inexpensive schemas before installed base imperatives. Holisticly benchmark pandemic process improvements without wireless experiences. Efficiently create worldwide partnerships
|
||||||
after tactical vortals. Uniquely productize enabled platforms vis-a-vis timely processes. Conveniently unleash standards compliant niches through highly efficient testing procedures. Rapidiously enable pandemic niche markets whereas viral markets.
|
after tactical vortals. Uniquely productize enabled platforms vis-a-vis timely processes. Conveniently unleash standards compliant niches through highly efficient testing procedures. Rapidiously enable pandemic niche markets whereas viral markets.
|
||||||
Assertively simplify alternative partnerships and error-free e-commerce. Professionally formulate 24/365 internal or "organic" sources through equity invested mindshare. Globally redefine unique best practices for.
|
Assertively simplify alternative partnerships and error-free e-commerce. Professionally formulate 24/365 internal or "organic" sources through equity invested mindshare. Globally redefine unique best practices for.
|
||||||
|
|
||||||
|
<input placeholder="Email">
|
||||||
</div>
|
</div>
|
||||||
</modal>
|
</modal>
|
||||||
|
|
||||||
|
|||||||
18
dist/index.js
vendored
18
dist/index.js
vendored
File diff suppressed because one or more lines are too long
18
dist/ssr.index.js
vendored
18
dist/ssr.index.js
vendored
File diff suppressed because one or more lines are too long
@@ -454,6 +454,12 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
let mousedown = (event) => {
|
let mousedown = (event) => {
|
||||||
|
let target = event.target
|
||||||
|
|
||||||
|
if (target && target.nodeName === 'INPUT') {
|
||||||
|
return
|
||||||
|
}
|
||||||
|
|
||||||
let { clientX, clientY } = getPosition(event)
|
let { clientX, clientY } = getPosition(event)
|
||||||
|
|
||||||
document.addEventListener('mousemove', mousemove)
|
document.addEventListener('mousemove', mousemove)
|
||||||
@@ -467,7 +473,7 @@
|
|||||||
cachedShiftX = this.shift.left
|
cachedShiftX = this.shift.left
|
||||||
cachedShiftY = this.shift.top
|
cachedShiftY = this.shift.top
|
||||||
|
|
||||||
event.preventDefault()
|
// event.preventDefault()
|
||||||
}
|
}
|
||||||
|
|
||||||
let mousemove = (event) => {
|
let mousemove = (event) => {
|
||||||
|
|||||||
Reference in New Issue
Block a user