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

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

Open 15638833667 opened 6 months ago

15638833667 commented 6 months ago

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

travist6983 commented 6 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))

AkonXI commented 2 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))

not in Chinese Docs. and doesn't work with GridItem.autoSize