NUKnightLab / NUKnightLab/juxtapose

Juxtapose inside an iframe does not receive touch events

Open
#147 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
JavaScript
Stars
882
Forks
127
Avg merge
1m
Merged PRs (30d)
2

Description

Steps to reproduce

  1. With Firefox on Android (tablet or mobile)
  2. Go to https://www.lesnumeriques.com/camera-surveillance/netgear-arlo-baby-p37105/test.html
  3. reach the first occurence of juxtapose
  4. 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&amp;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&amp;wmode=opaque
on a mobile or tablet with Firefox Android, this is working.

Contributor guide

No contributing guide indexed for this repository

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

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.