jbaysolutions / vue-grid-layout

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

transformScale属性可以在画布缩放时,正常拖放元素 #798

Open 15638833667 opened 4 months ago

15638833667 commented 4 months ago

官方文档没有添加该属性值

travist6983 commented 3 months ago

Looks like it does...

https://jbaysolutions.github.io/vue-grid-layout/guide/properties.html#transformscale

Also listed in the change log...

2.4.0 (Aug 3, 2022) GridLayout transformScale prop, to allow proper dragging and resizing when scaled (#430) (thanks adt-hgkim (opens new window)) GridLayout and GridItem isBounded prop, to prevent draging outside of the parent element (#523) (thanks rin4ik (opens new window)) Added GridItem passthrough options for interact resizable and draggable (#181) (thanks llezenelrahc (opens new window)) Change function call order for responsive features (thanks william8012 (opens new window)) Added GridLayout restoreOnDrag prop, to generate less gaps on drag when verticalCompact is false (thanks jledentu (opens new window)) added unit tests (thanks ygj6 (opens new window)) layout key extra validations (thanks ygj6 (opens new window)) Fix grid items overlapping when using autoSize() (thanks ygj6 (opens new window)and savandriy (opens new window))