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

Juxtapose inside an iframe does not receive touch events #147

Open
karlcow opened this issue Apr 10, 2019 · 1 comment
Open

Juxtapose inside an iframe does not receive touch events #147

karlcow opened this issue Apr 10, 2019 · 1 comment

Comments

@karlcow
Copy link

karlcow commented Apr 10, 2019

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 webcompat/web-bugs#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.

@karlcow
Copy link
Author

karlcow commented Apr 30, 2019

ok found the issue!
This is related to https://bugzilla.mozilla.org/show_bug.cgi?id=1178763
because on touchstart in Firefox pageX exists, so we get a negative leftPercent, which then in return makes no sense to move the slider.

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

1 participant