Skip to content

web component fixes#1525

Merged
adumesny merged 1 commit intogridstack:developfrom
adumesny:develop
Dec 7, 2020
Merged

web component fixes#1525
adumesny merged 1 commit intogridstack:developfrom
adumesny:develop

Conversation

@adumesny
Copy link
Copy Markdown
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