-
-
Notifications
You must be signed in to change notification settings - Fork 40
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
[Docs] - HTML examples are broken #368
Comments
Edit: Collecting bug symptoms and reproductions here Symptoms
Reproductions
|
Its weird, now I can see them on the page https://cientos.tresjs.org/guide/misc/html-component.html#html |
Non-unique HTML id attributesFwiw, looking at the DOM, there's an HTML problem. The Cientos cientos/src/core/misc/html/HTML.vue Line 194 in 55ca2bf
@alvarosabu Do you want this to be opened as a separate issue? Edit: the child of the 'inner' node uses the cientos/src/core/misc/html/HTML.vue Line 198 in 55ca2bf
|
Ohhh, probably we need to add a hash or a class instead |
At first glance, it doesn't appear that the id's are used for anything. I can't find any other references to "outer" or "inner" so far anyway. So maybe they can just be removed. |
Hey @alvarosabu ! This particular bug appears to come down to the cientos/src/core/misc/html/HTML.vue Line 178 in 55ca2bf
Removing it and reloading causes the items to appear on-screen immediately after creation, as expected. Fix(?)Add the above styles to a regular DOM element, rather than an element managed by Vue:
... then the component seems to work as expected. The eventual solution will need to remove the wrapper when the component is unmounted. Tested in Chrome and FF on Mac. I've come across some other "fixes" by chance, but they're messier. |
The problem occurs when installing dependencies with npm, but it doesn't happen with yarn |
Is there an update to this issue? |
Describe the bug
The examples under https://cientos.tresjs.org/guide/misc/html-component.html#html are currently broken
Reproduction
https://cientos.tresjs.org/guide/misc/html-component.html#html
Steps to reproduce
No response
System Info
No response
Used Package Manager
npm
Code of Conduct
The text was updated successfully, but these errors were encountered: