node-projects / dock-spawn-ts

A TypeScript HTML Docking Framework (fork of dock-spawn)
MIT License
127 stars 28 forks source link

Web component panel content not showing #98

Open macaba opened 1 week ago

macaba commented 1 week ago

Using /page/demo/demo_webcomponent.html & placing some content inside one of the document panels does not show up any of the content when the page has finished loading.

Inspecting shows that the content has size but is invisible. I could not see any style properties that would hide the content.

Any ideas?

jogibear9988 commented 1 week ago

Can you share a little bit of code what you are doing?

I use the webcomponent here and it works: https://node-projects.github.io/web-component-designer-demo/index.html

macaba commented 1 week ago

Sure! Using a slightly modified version of demo page with some content:

https://github.com/macaba/dock-spawn-ts/blob/master/page/demo/demo_webcomponent.html

I don't see any content:

image

DevTools shows something being there but not visible:

image