NUKnightLab / NUKnightLab/juxtapose

Mobile vertical scrolling broken when touching juxtapose element

Open
#148 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

See attached for our implementation. The problem with this is that, on mobile, Juxtapose takes over the vertical touch. That means that the user is unable to scroll up and down on the page and is effectively stuck.

This is unnecessary, since juxtapose really only requires X-axis data to function. Can someone help me make an adjustment to the JS such that if horizontal mode is selected, the Y axis is left alone so that the user can continue to scroll up and down on the page AND use the juxtapose element at the same time?

image

Any assistance would be welcomed here, will Venmo someone $50 if they help.

-B

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

Start by locating Juxtapose's JavaScript touch-handling code and reproduce the issue in a mobile browser with horizontal mode enabled. Done means the juxtapose element still responds to horizontal gestures while the page can scroll vertically.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.