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

Links wrongly traversed with outside click #4835

Open
jorgecardoso opened this issue Mar 30, 2021 · 4 comments
Open

Links wrongly traversed with outside click #4835

jorgecardoso opened this issue Mar 30, 2021 · 4 comments

Comments

@jorgecardoso
Copy link

jorgecardoso commented Mar 30, 2021

Links are traversed even when someone clicks outside the default visual appearance.

  • A-Frame Version: since 1.0.0
  • Platform / Device: Tested on desktop Brave, Chrome, Firefox in Windows 10, 2D mode (also seems to happen in VR mode on desktop, but you need to click closer to the visual appearance).
  • Reproducible Code Snippet or URL: https://expensive-moored-meadow.glitch.me/

Just click on the reticle immediately after loading. Nothing should happen, but it takes you through the link.

<html>
  <head>
    <title>Portals - 01</title>
    <script src="https://aframe.io/releases/1.0.0/aframe.min.js"></script>
  </head>
  <body>
    <a-scene background="color:lightblue">
      
     
      <a-link
        position="-2.5 1.6 -4"
        href="/examples/0600-portals-02.html"
        title="Go to second environment"
      ></a-link>

    
      <a-camera>
        <a-cursor></a-cursor>
      </a-camera>
    </a-scene>

  </body>
</html>
@dmarcos
Copy link
Member

dmarcos commented Mar 30, 2021

You are in an old version. Does it reproduce with 1.2.0?

@jorgecardoso
Copy link
Author

You are in an old version. Does it reproduce with 1.2.0?

Yes it does.

It happens since version 1.0.0 (at least). The earlier version that I got it working correctly is 0.8.2

@dmarcos
Copy link
Member

dmarcos commented Mar 30, 2021

Operating system, browser? It happens in 2D mode or VR? Can you create a glitch to reproduce https://glitch.com/~aframe

Thanks!

@jorgecardoso
Copy link
Author

I've updated the original issue with more information:

A-Frame Version: since 1.0.0
Platform / Device: Tested on desktop Brave, Chrome, Firefox in Windows 10, 2D mode (also seems to happen in VR mode on desktop, but you need to click closer to the visual appearance).
Reproducible Code Snippet or URL: https://expensive-moored-meadow.glitch.me/

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

No branches or pull requests

2 participants