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

Make pagination controls more mobile friendly #314

Open
askjervold opened this issue Apr 9, 2019 · 2 comments
Open

Make pagination controls more mobile friendly #314

askjervold opened this issue Apr 9, 2019 · 2 comments
Labels
bug Something isn't working

Comments

@askjervold
Copy link
Contributor

askjervold commented Apr 9, 2019

Is your feature request related to a problem? Please describe.

The arrows in the pagination component are quite small, and difficult to hit when used on mobile, especially on devices with high resolution and pixel density such as the Galaxy S10.

Describe the solution you'd like

More mobile friendly controls, where it is easy to navigate between pages without having to carefully aim or zoom in to hit (and to avoid hitting the first/last button when trying to hit previous/next).

Describe alternatives you've considered

Possible solutions (might require a combination of several):

  • Increase the default size of the entire component
  • Increase spacing between buttons
  • Increase padding for each button
  • Use 'Previous' and 'Next' instead of arrows

Context

Allow users of all devices and all levels of manual dexterity to use applications with paging. This is needed in the development of the new FuelCard/CruiseCard CAM/User Portal for end users, where there is a focus on usage on mobile devices.

@askjervold
Copy link
Contributor Author

Making the entire component centered on the page by default on small screen sizes could also improve user experience somewhat.

@Akswii
Copy link
Contributor

Akswii commented May 20, 2019

We agree that the hitbox should be bigger, and that the pagination should be centered by default in the meantime you can use .text-center.

@Akswii Akswii added enhancement New feature or request bug Something isn't working and removed enhancement New feature or request labels May 20, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants