Closed tlylt closed 2 years ago
Seems like there is a duplicate site-nav being "portaled" over.
Found a potential cause of the issue. If I remove tables.md
from being included in the "Formatting content" page, the issue goes away. However, I don't see any issue with the tables.md
file and https://markbind.org/userGuide/fullSyntaxReference.html seems fine as well, which also includes the tables.md
file.
EDIT:
https://markbind.org/userGuide/fullSyntaxReference.html will also have the same issue if the include
is not in a <panel>
.
The offending snippet is here:
<span id="examples" class="d-none">
Animal | Trainable?| Price | Remarks
:----- | :-------: | ----: | ----
Ants | no | 5 |
Bees | no | 20 |
Cats|yes|100|
</span>
This is not valid html and causes hydration errors as <span>
s should not contain "block" level elements like tables.
We could look through the docs for more of such cases as well, and correct them in one go.
More generally perhaps we could also start looking into warning the user of writing invalid html 🤔
Tell us about your environment Seen on markbind.org
What did you do? Please include the actual source code causing the issue. Reproduce:
Some sort of delay/duplicate effect when scrolling.
What did you expect to happen? It should behave in the same manner as other pages, e.g. https://markbind.org/userGuide/authoringContents.html
What actually happened? Please include the actual, raw output.