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

Keyboard Navigation Question #190

Open
GoodGuyMarco opened this issue Apr 19, 2021 · 1 comment
Open

Keyboard Navigation Question #190

GoodGuyMarco opened this issue Apr 19, 2021 · 1 comment
Assignees

Comments

@GoodGuyMarco
Copy link

GoodGuyMarco commented Apr 19, 2021

Hey guys,

I got a slider with this responsive configuration and enabled keyboard navigation:

  const responsive = {
    0: {items: 1},
    576: {items: 2},
    992: {items: 3},
  };

When 3 slides are visible and I hit the arrow keys (left or right) it only moves one slide item. This confused me the first few times I saw that because the dots only update, when the next 3 items are visible.

Is this intended behaviour?

@maxmarinich
Copy link
Owner

Hi, @GoodGuyMarco! Yes this is an expected behavior. Perhaps here need to add a new strategy in the upcoming implementations to manage this case.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants