Open
Description
Subject of the issue
I'm trying to create a grid where elements have a fixed aspect ratio, I'm successfull but I found a bug when using the resize event.
Your environment
- Version of gridstack.js - ^11.5.1
- Browser/OS - Chrome/MacOs
Steps to reproduce
https://jsfiddle.net/b2xwjd6y/
Expected behavior
I need to resize elements keeping the aspec ratio.
If you guys can watch on this video, when the resize event is enabled I got the desired result, it will resize correctly keeping the aspect radio, but it will crash after the resize ending:
https://github.com/user-attachments/assets/07369d42-b56b-4571-a722-03223e37ae19
If you guys can watch on this video, when the resize event is disabled, it will resize without keeping the aspect radio:
https://github.com/user-attachments/assets/32bce07d-bc82-4f02-86f6-021ab328fb1d