-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Disable animation on init #2496
Disable animation on init #2496
Comments
yeah noticed that as well recently. not sure when it started... |
I think the problem is between releases 8.1.0 and 8.1.1
Attributes top and left break the display of widgets Although, if you remove these attributes, the animation disappears completely :/ |
8.1.1 had a tons of CSS changes #2315 and likely side affect - thanks for narrowing it down the build # |
Can be fixed by removing this line gridstack.js/src/gridstack.scss Line 132 in 599965a
|
no that removes the entire animation for everything. the problem is on init - maybe fix is to delay setting animation style on the grid until after init... not sure what 8.1.1 change broke this. |
* fix gridstack#2496 * fix animation on init, introduced in 8.1.1
fixed in next release. don't forget to donate if you find this lib useful! |
Good afternoon, I recently updated my version from a fairly old one to a new one, and noticed that now when the page is initialized, it's as if all the widgets are in zero coordinates and move to their place with animation
Here you can observe this effect:
https://gridstackjs.com/demo/nested.html
Of course you can disable it with the "animate" parameter, but in this way all animation will be disabled, when dragging, resizing, etc.
The feeling that this did not happen before, i.e. there was animation when moving and changing, but it was not there when initializing, and all widgets were immediately in their place when loading
Please tell me how you can solve my problem. Thanks
The text was updated successfully, but these errors were encountered: