Control order of the annotations to prevent #3029
Unanswered
llllkatjallll
asked this question in
Q&A
Replies: 1 comment 3 replies
-
Huh, yeah that's not great. we don't really control ordering internally since we have no idea what content you might have put in. I'm surprised that the z-index didn't fix it; maybe just set the z-index of the annotations to be in front of the buttons? |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi!

I was wondering if it is possible to change the order in which the annotations are being shown on my html canvas?
If I understand it right, currently the annotation with a smaller distance to the camera is always placed on top.
In some situations it makes sense, but sometimes this leads to things like this:
You can see this example here: https://prefrontalcortex.de/labs/model-viewer/hotspot-order/
I thought that by re-ordering the annotations in html or by changing the z-index on click/hover with JS would overwrite previous order but none of this has worked.
Are there any other possibilities to control the annotation order?
Beta Was this translation helpful? Give feedback.
All reactions