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

annoying: Card catalog screen repositioning when changing total cards #123

Open
DaveSkender opened this issue Apr 3, 2024 · 1 comment
Labels
bug Something isn't working enhancement New feature or request good first issue Good for newcomers help wanted Extra attention is needed

Comments

@DaveSkender
Copy link
Member

When changing the total cards amount on uswds.facioquo.com/card-catalog, the screen reposition itself, forcing the user to re-locate these controls to perform further adjustments. It's annoying.

I'd attempted to fix this once with an auto-rescroll that repositions the screen in some situations for some browsers, but it's not consistent and has a large, visible repositioning that isn't a nice experience. ref: source code

steps to reproduce

  1. scroll to the bottom of the card catalog main section and click "Show 25 more" 3-4 times
  2. scroll down to the page controls (shown above) and move the Total cards slider left

this also happens when changing Cards per page in some configurations too

card catalog controls
@DaveSkender DaveSkender added bug Something isn't working enhancement New feature or request help wanted Extra attention is needed good first issue Good for newcomers labels Apr 3, 2024
@DaveSkender
Copy link
Member Author

See https://stackoverflow.com/a/6243000/4496145 “return false;” example, maybe it’d help?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working enhancement New feature or request good first issue Good for newcomers help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant