-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Widgets initiated with undefined data-gs-x and data-gs-y glitch #1017
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
Comments
SomMeri
added a commit
to SomMeri/gridstack.js
that referenced
this issue
Oct 14, 2019
SomMeri
added a commit
to SomMeri/gridstack.js
that referenced
this issue
Oct 14, 2019
3 tasks
SomMeri
added a commit
to SomMeri/gridstack.js
that referenced
this issue
Oct 14, 2019
SomMeri
added a commit
to SomMeri/gridstack.js
that referenced
this issue
Oct 14, 2019
actually if you label them 'item 1' and 'item 2' you will see in rev3 while in your fix you get I think ideally not specify a position should land you the overlap and wrong size is incorrect in v0.4 and v0.5 (get inf loop error) so we NEED a fix, don't think this is best fix. |
2 tasks
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
If the widgets do not have initial data-gs-x and data-gs-y specified, widgets are rendered with wrong size. They are also all located on one place.
Your environment
Steps to reproduce + Actual behaviour
Working demo: https://jsfiddle.net/2p7a9wjg/
Both widgets are created without data-gs-x and data-gs-y:
Only one widget is visible and it is small.
Expected behaviour
This is how it should look like - rendered with 0.3.0: https://jsfiddle.net/m3fxs7u1/4/
Both widgets are visible and they are big.
The text was updated successfully, but these errors were encountered: