gridstack / gridstack.js

Build interactive dashboards in minutes.
https://gridstackjs.com
MIT License
6.53k stars 1.27k forks source link

"autoPosition" is not working correctly #2631

Closed hatta-takuya closed 5 months ago

hatta-takuya commented 6 months ago

Subject of the issue

In the react-hooks-controlled-multiple.html demo, when x, y are unspecified widget is not added in the correct position.

Your environment

Steps to reproduce

Just removed x, y options. https://codepen.io/hjerhfqj-the-solid/pen/dyLMJpW

Expected behavior

New widget should be placed in the empty area. (v8.2.0 works well)

hatta-takuya commented 5 months ago

v10.1.2 fixed this issue. thanks. https://codepen.io/hjerhfqj-the-solid/pen/ExJomzo

adumesny commented 5 months ago

glad. don't forget to donate if you find this lib useful!