mauricius / vue-draggable-resizable

Vue3 Component for draggable and resizable elements.
https://mauricius.github.io/vue-draggable-resizable/
MIT License
3.33k stars 559 forks source link

set draggable false,but When resizing up, the element moves #346

Open alamhubb opened 2 years ago

alamhubb commented 2 years ago

image

image

 <vue-draggable-resizable
    :draggable="false"
    v-show="showDialog"
    :z="2000"
    class="bg-white position-absolute bottom-0 right-0 bx-none bb-none w100p"
    :handles="['tm']">
    <div>123</div>

    <!--    <template v-if="yoyoNode">
          <component
            v-if="yoyoNode"
            ref="dataSource"
            :is="dataSourceType"
            @confirm="confirmSave"
            @close="quickCloseDialog"></component>
        </template>-->
  </vue-draggable-resizable>
alamhubb commented 2 years ago

I found out that the problem is because I set bottom:0

More specific reasons are still being discovered