Skip to content

Fix clicking next/prev arrows when initialSlide is not 0#2029

Open
jorrit wants to merge 1 commit intoakiran:masterfrom
jorrit:finiteinitialslide
Open

Fix clicking next/prev arrows when initialSlide is not 0#2029
jorrit wants to merge 1 commit intoakiran:masterfrom
jorrit:finiteinitialslide

Conversation

@jorrit
Copy link
Copy Markdown
Contributor

@jorrit jorrit commented May 7, 2021

This PR fixes #1946.

This bug got introduced with change 1c3d70c. When initialSlide is set, targetSlide was not set to the right value. This is fixed.

Also, I think the intended change of 1c3d70c can be implemented slightly simpler, by just checking if the new value is out of the allowed bounds.

@felipe-gustavo
Copy link
Copy Markdown

Please, merge this

@apntzls
Copy link
Copy Markdown

apntzls commented Jul 19, 2021

Hello all, what's the status of this PR, I'm needing this fixed.

@JoaoCSR
Copy link
Copy Markdown

JoaoCSR commented Aug 20, 2021

Is there any way we can get a timeline on when to expect this merged?

@yenienRey
Copy link
Copy Markdown

Please, merge this +1

@dramoturg
Copy link
Copy Markdown

Do you have any news?

@gtb104
Copy link
Copy Markdown

gtb104 commented Jul 15, 2022

This repo has had very little movement in the last year. I see there are many open pull requests just waiting to be merged. Who has write access? If it's only @akiran, can we petition to get others to help maintain this project?

@akiran
Copy link
Copy Markdown
Owner

akiran commented Jul 21, 2022

This issue is already fixed

@akiran akiran closed this Jul 21, 2022
@akiran akiran reopened this Jul 21, 2022
@gtb104
Copy link
Copy Markdown

gtb104 commented Aug 19, 2022

If it’s already fixed, could you please point to the PR and release that addresses this issue? Ant design uses this library in their Carousel component. If there’s a specific version they should be at, then I’ll make a PR to pull in the correct version on their repo.

@AttackXiaoJinJin
Copy link
Copy Markdown

come on, it's 2022 !!

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Changing slide works incorrect when infinite is false and initialSlide > 1

10 participants