aframevr / aframevr/aframe

Click event will not trigger again with the same 'a-element' on mobile (0.8.x version)

Open
#3,716 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
JavaScript
Stars
17.6k
Forks
4.4k
PR merge metrics
No merged PRs in 30d

Description

Description:

I found that the click event will not trigger again seem like the 'a-element' still focused
on mobile. I need to click the sky or other 'a-element' than the same 'a-element' can trigger the click event again.

I'm using the 0.8.2 version and it works if I back to use 0.7.0 version. So I believe that's the 0.8.x version bug.

  • A-Frame Version: 0.8.2
  • Platform / Device: Use chrome to simulation mobile environment.
  • Reproducible Code Snippet or URL:

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the repeated-click behavior in A-Frame 0.8.2 with Chrome's mobile environment, then compare it with 0.7.0. The issue provides no file or test entry point; done means clicking the same a-element repeatedly triggers its click event without requiring another target first.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
frontend, web-dev
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.