jbaysolutions / vue-grid-layout

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

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

Open V-yw opened 1 year ago

V-yw commented 1 year 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 1 year ago

image For example, drag a drag up.