Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Incorrect rendering of slots in tables #10983
Steps to reproduce
Look into the source code
What is expected?
The slots are some ths for the tablehead of the table - so the ths should be rendered inside the thead of the table.
What is actually happening?
The ths are rendered above the table.
Have a look at the following sample:
As you can see, the rendered "th"s are above the table (in source-code) - but in the template they are inside the thead of the table.
This only happens when I do it the way I did in the example mentioned above.
If I use template literals instead of single-file component it works fine.