-
Notifications
You must be signed in to change notification settings - Fork 904
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
Marker content not aligned. #543
Comments
Got this link for similar issue #241 |
Also already tried the |
Untitled.1.mp4This is an update. trying to figure out to place to center, but noticed that, the object is getting far away when the image is change on rotation
|
I found the issue now, seems like the problem is with the height of viewpoint, Screen.Recording.2023-06-02.at.9.36.36.AM.1.1.1.mp4 |
An update to this issue, Screen.Recording.2023-06-02.at.12.55.26.PM.mp4 |
Check out https://github.com/AR-js-org/AR.js/blob/master/aframe/examples/marker-based/minimal_ES6.html and the css used there |
Thanks on this!! |
Hello @allestaire - Were you able to resolve this? I have been encountering the same issue and I cannot figure out what to do to resolve this. @madalin-fr - I have tried your Minimal ES6 example and I am still experiencing the offset issues. Do you have any other suggestions? |
Hi @loganknecht , Base on my diagnosis, there is a problem with the element wrapper on the canvas, it is using different width, but still dont know its source, I tried using the raw ARJS rather than the react package. As of now this error only occurs on react, but not on RAW html version |
@allestaire can you clarify which element you mentioned. More than happy to track this down, but not sure what portion you're discussing. |
Do you want to request a feature or report a bug?
What is the current behavior?
When scanning a barcode, seems like the marker content is not aligned to its position
If the current behavior is a bug, please provide the steps to reproduce.
Please use this link https://aliancial-ba0q6xfp8-allestaireacasio-ustpeduph.vercel.app/
Please mention other relevant information such as the browser version, Operating System and Device Name
What is the expected behavior?
The Object should be centered to markers point
If this is a feature request, what is motivation or use case for changing the behavior?
Example Code:
Versions:
The text was updated successfully, but these errors were encountered: