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

Update DiscussionListItem.less to fix double tap on mobile #2607

Merged
merged 2 commits into from
Feb 17, 2021
Merged

Update DiscussionListItem.less to fix double tap on mobile #2607

merged 2 commits into from
Feb 17, 2021

Conversation

zerosonesfun
Copy link
Contributor

Fix double tap to open discussion on mobile.

Fixes #1913

Changes proposed in this pull request:
Adds a rule to the discussion list less file which targets touch devices whose primary way of interacting does not include a mouse / ability to hover. For those devices the toggle button is hidden which fixes the double tap issue.

Reviewers should focus on:
Test on small screens. You should no longer have to double tap to open a discussion.

Confirmed

  • Frontend changes: tested on a local Flarum installation.
  • Backend changes: tests are green (run composer test).

Fix double tap to open discussion on mobile.
@zerosonesfun zerosonesfun changed the title Update DiscussionListItem.less Update DiscussionListItem.less to fix double tap on mobile Feb 17, 2021
less/forum/DiscussionListItem.less Outdated Show resolved Hide resolved
@askvortsov1 askvortsov1 merged commit 73a8efa into flarum:master Feb 17, 2021
KyrneDev pushed a commit that referenced this pull request Feb 20, 2021
Adds a rule to the discussion list less file which targets touch devices whose primary way of interacting does not include a mouse / ability to hover. For those devices the toggle button is hidden which fixes the double tap issue.
askvortsov1 pushed a commit that referenced this pull request Feb 21, 2021
Adds a rule to the discussion list less file which targets touch devices whose primary way of interacting does not include a mouse / ability to hover. For those devices the toggle button is hidden which fixes the double tap issue.
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

Successfully merging this pull request may close these issues.

Touch devices of certain widths forced to double tap to open discussion
3 participants