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

Bug: onPrevClick and onNextClick does not trigger #1970

Closed
pdhruv93 opened this issue Nov 9, 2023 · 0 comments · Fixed by #2172
Closed

Bug: onPrevClick and onNextClick does not trigger #1970

pdhruv93 opened this issue Nov 9, 2023 · 0 comments · Fixed by #2172
Assignees
Labels
bug Bug or Bug fixes
Milestone

Comments

@pdhruv93
Copy link

pdhruv93 commented Nov 9, 2023

Bug description

On paginated view the next and prev click handlers does not works

To reproduce

Fork this CodeSandbox: https://codesandbox.io/p/sandbox/react-daypicker-j2hjn4?file=%2Fsrc%2FApp.tsx%3A11%2C5 with the code to reproduce the issue.

<DayPicker
      numberOfMonths={2}
      pagedNavigation
      onNextClick={() => console.log(":::Next")}
      onPrevClick={() => console.log(":::Prev")}
    />

Additional context

On latest version

@pdhruv93 pdhruv93 added the bug Bug or Bug fixes label Nov 9, 2023
@gpbl gpbl added the to investigate Needs more investigation from the mantainers label Nov 11, 2023
@gpbl gpbl added Accepted Changes have been accepted and will go in one of the next releases. and removed to investigate Needs more investigation from the mantainers labels Dec 23, 2023
@gpbl gpbl added this to the v8.10.1 milestone Dec 23, 2023
@gpbl gpbl self-assigned this Dec 23, 2023
@gpbl gpbl modified the milestones: v8.10.1, v9.0.0 May 28, 2024
@gpbl gpbl removed the Accepted Changes have been accepted and will go in one of the next releases. label May 28, 2024
@gpbl gpbl linked a pull request May 30, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Bug or Bug fixes
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants