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

Inactive arrow not disabled at init #919

Closed
2 tasks done
kapenzo opened this issue Sep 14, 2022 · 2 comments
Closed
2 tasks done

Inactive arrow not disabled at init #919

kapenzo opened this issue Sep 14, 2022 · 2 comments
Labels
bug Something isn't working done Finished

Comments

@kapenzo
Copy link

kapenzo commented Sep 14, 2022

Checks

Version

v4.0.17 (from npm)

Description

One arrow should be disabled if the active slide is first or last.
Example: If your first slide has index 0, the left arrow should be disabled, because you cannot go to the slide with index -1.

The problem occurs only after initialization (mount). After changing the slide, arrows are properly disabled.

btw. Why there are different version numbers in npm and in github????

Reproduction Link

https://codesandbox.io/s/wizardly-sound-xipo77

Steps to Reproduce

Bug:
image
Should be:
image

Expected Behaviour

Arrow should be disabled after initialization (mount).

@kapenzo kapenzo added the bug Something isn't working label Sep 14, 2022
@NaotoshiFujita
Copy link
Collaborator

Thank you for your report. I've fixed this in the v4.1.1.

@NaotoshiFujita NaotoshiFujita added the done Finished label Sep 20, 2022
@kapenzo
Copy link
Author

kapenzo commented Sep 21, 2022

Confirm - fixed in v4.1.1

@kapenzo kapenzo closed this as completed Sep 21, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working done Finished
Projects
None yet
Development

No branches or pull requests

2 participants