Problems not clicked when clicking component internal input box.
Closed this issue · 0 comments
HuyunLee commented
While looking at the issue, I noticed that it was not working because of the content style of preventDefault and css.
if (typeof ev.preventDefault !== 'undefined') { ev.preventDefault(); }
in vue-drag-resize.js(line 313)
content: '';
in vue-drag-resize.css (line 6)
After removing the code above, you can see that the input box inside is clicked well.
Please update this code if there is no problem after looking at it.
<div style="height: 300px; border: 1px solid blue;">
<vue-drag-resize :isActive="false" :w="200" :h="200">
<div>
<h3>Hello World!</h3>
<input/>
</div>
</vue-drag-resize>
</div>
The above code is the test code.