Thanks to visit codestin.com
Credit goes to github.com

Skip to content

web component fixes #1525

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

Merged
merged 1 commit into from
Dec 7, 2020
Merged

web component fixes #1525

merged 1 commit into from
Dec 7, 2020

Conversation

adumesny
Copy link
Member

@adumesny adumesny commented Dec 7, 2020

Description

Checklist

  • Created tests which fail without the change (if possible)
  • All tests passing (yarn test)
  • Extended the README / documentation, if necessary

* fix gridstack#1438
* make sure we handle grid size 0 when initializing things,
or we don' create CSS and bad things happen.
Also avoid oneColumnMode when no size.
* added webcomponent example
(more for debugging than anything)
@adumesny adumesny merged commit bb4aeef into gridstack:develop Dec 7, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Gridstack stopped working in version 2.0.0 and above if the class="grid-stack" element is a web-component with shadow-dom!
1 participant