NUKnightLab / NUKnightLab/juxtapose
Juxtapose inside an iframe does not receive touch events
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 882
- Forks
- 127
- Avg merge
- 1m
- Merged PRs (30d)
- 2
Description
Steps to reproduce
- With Firefox on Android (tablet or mobile)
- Go to https://www.lesnumeriques.com/camera-surveillance/netgear-arlo-baby-p37105/test.html
- reach the first occurence of juxtapose
- Try to slide right or left
Expected
The slider is moving
Actual
The slider is not moving.
The slider has been added through an iframe.
<iframe class="juxtapose" src="https://cdn.knightlab.com/libs/juxtapose/latest/embed/index.html?uid=555b52ae-0da7-11e8-b263-0edaf8f81e27&wmode=opaque" width="100%" height="433" frameborder="0"></iframe>
This was initially reported on https://github.com/webcompat/web-bugs/issues/15381
When accessing directly https://cdn.knightlab.com/libs/juxtapose/latest/embed/index.html?uid=555b52ae-0da7-11e8-b263-0edaf8f81e27&wmode=opaque
on a mobile or tablet with Firefox Android, this is working.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the issue on Firefox Android using the provided page and iframe URL, then compare the embedded behavior with opening the Juxtapose embed directly. Inspect the JavaScript touch-event handling and verify that sliding works when the widget is loaded through an iframe on mobile and tablet Firefox.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 30/100