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

Problem with non-inline css. (Live example) #33

Open
arkonsolutions opened this issue Nov 19, 2022 · 0 comments · May be fixed by #35
Open

Problem with non-inline css. (Live example) #33

arkonsolutions opened this issue Nov 19, 2022 · 0 comments · May be fixed by #35

Comments

@arkonsolutions
Copy link

Hello.

When using not inline CSS, but .css file loaded in the header page menu is not displayed, while in the browser console have this warning:

  • Firefox: "WebGL warning: texSubImage: Offset+size must be <= the size of the existing specified image."
  • Chrome: "[.WebGL-00005B4402385500] GL_INVALID_VALUE: Offset overflows texture dimensions."

As soon as I move the css from the file to the html page in the style tag, the menu starts displaying. But, I need to use non-inline styles, how can I avoid this error and get the menu to display?

Live example: https://aframe-htmlembed-component-css-file.glitch.me
Code editor: https://glitch.com/edit/#!/aframe-htmlembed-component-css-file

Thank you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant