Fixed click event not working on dragagble modals and inputs now are not draggable

This commit is contained in:
euvl
2017-09-27 10:22:50 +01:00
parent 12797cc0e6
commit 8d5316601f
4 changed files with 29 additions and 17 deletions

View File

@@ -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
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.
<input placeholder="Email">
</div>
</modal>

18
dist/index.js vendored

File diff suppressed because one or more lines are too long

18
dist/ssr.index.js vendored

File diff suppressed because one or more lines are too long

View File

@@ -454,6 +454,12 @@
}
let mousedown = (event) => {
let target = event.target
if (target && target.nodeName === 'INPUT') {
return
}
let { clientX, clientY } = getPosition(event)
document.addEventListener('mousemove', mousemove)
@@ -467,7 +473,7 @@
cachedShiftX = this.shift.left
cachedShiftY = this.shift.top
event.preventDefault()
// event.preventDefault()
}
let mousemove = (event) => {