jbaysolutions / vue-grid-layout

A draggable and resizable grid layout, for Vue.js.
https://jbaysolutions.github.io/vue-grid-layout/
MIT License
7.07k stars 1.49k forks source link

Embed iframe tag in grid-item, dragging is not smooth #782

Open V-yw opened 11 months ago

V-yw commented 11 months ago

Software version (please complete the following information):

Embed iframe tag in grid-item, dragging is not smooth

  1. When I don’t embed any tags and use index, there is no problem
  2. When I use the img tag, dragging is also smooth.
  3. When I use iframe, the src is jpg, and there is an obvious lag when dragging. Some specific phenomena are that the mouse click is not actually detected, etc. There is a clear contrast. Remove the iframe and it will return to normal
V-yw commented 11 months ago

image For example, drag a drag up.