Replies: 2 comments
-
To clarify: The annotation is being created, so it does recognize the ordered list after the code block. But it for some reason does not display the Content on click, so either it doesn't get created properly, or gets blocked it seems... |
Beta Was this translation helpful? Give feedback.
-
Looking further into this, it seems the site's HTML gets somewhat messed up, as by the looks of it is the HTML for the Annotation already there despite not being "opened" while on the Material docs example, the content only appears when pressed. This is further proven by the fact, that the annotation gets highlighted, despite the mouse not being near it, most likely because it hovers over the (currently invisible?) content. |
Beta Was this translation helpful? Give feedback.
-
I currently encounter an issue with using Code annotations, but I'm unsure what happens here exactly or why it happens.
The issue I encounter is, that when I press the icon, I get moved to it, but no content is showing at all.
I tried checking the browser console to see if there are any issues, but nothing gets reported there.
This is the section I have an issue with:
My current guess is, that it may be some conflict with JS? I'm using a separate JS code to fetch data to inject into the page where I also have this code block, so maybe something there causes a conflict?
Here's the JS file I use, just in case:
Details
I really don't know what could be the problems here... So if there is any way to debug code annotations, I would apreciate it.
Beta Was this translation helpful? Give feedback.
All reactions