Closed kujeah closed 3 years ago
I have a question.
Can we use moveable by adding svg within div?
Below is the code of div that I designated as moveable.
<div class="moveable" style="position: absolute; display: flex; flex-direction: column; width: 172.8px; height: 216.16px; transform: translate(68.5965px, 52.1053px) rotate(0deg) scale(1, 1); clip-path: inset(0px);"> <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 172.8 216.16" preserveAspectRatio="none"> <image xlink:href="[image url]" width="172.8" height="216.16" class="not-control"></image> </svg> </div>
There is no problem when dragging the code, but if use clip, a problem occurs when drag.
What advice do you have on the issue?
@kujeah
Oh, i will fix it.
moveable
react-moveable
preact-moveable
ngx-moveable
svelte-moveable
moveable's new version is released. Check it again.
Environments
Description
I have a question.
Can we use moveable by adding svg within div?
Below is the code of div that I designated as moveable.
There is no problem when dragging the code, but if use clip, a problem occurs when drag.
What advice do you have on the issue?