hernansartorio / hernansartorio/react-nice-dates

Make touch drag horizontal instead of vertical for better mobile support

Open
#73 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
1.1k
Forks
77
PR merge metrics
No merged PRs in 30d

Description

Currently, the mobile support of the calendar (controllable by the undocumented nor typed `touchDragEnabled`) is not so mobile friendly.
Example:
![image](https://user-images.githubusercontent.com/69103343/125522156-8acb7fc3-0883-40dd-b2e7-ad14b57f6838.png)
The main issue arises from the fact that the user is trying to scroll through the page, but he is stuck scrolling through the calendar months.

If the months could be scrolled horizontally (left to right) instead of vertically (top to bottom) that would allow the user to better navigate the site.

Let me know what you think.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.