Skip to content
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

preview on element with unknown tagName (like <my-comp>) has broken size. #2

Closed
3cp opened this issue Mar 6, 2018 · 1 comment
Closed
Projects

Comments

@3cp
Copy link
Member

3cp commented Mar 6, 2018

This is a problem with aurelia app, where you can put ref="dndElement" on a custom element like <my-comp>.

Since custom element tagName is unknown to HTML standard, it got default display: inline style with width/height 0 (most likely if your comp has non-inline elements inside).

Need to add new preview drawer to deal with unknown tagName, instead of duplicating element's size, it needs to duplicate all child elements' size.

@3cp 3cp added this to To do in dev via automation Mar 6, 2018
@3cp
Copy link
Member Author

3cp commented Apr 26, 2018

closed by v0.4.6

@3cp 3cp closed this as completed Apr 26, 2018
dev automation moved this from To do to Done Apr 26, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
No open projects
dev
  
Done
Development

No branches or pull requests

1 participant