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

Open
pdhruv93 opened this issue Nov 9, 2023 · 0 comments
Open

Bug: onPrevClick and onNextClick does not trigger #1970

pdhruv93 opened this issue Nov 9, 2023 · 0 comments
Assignees
Labels
Accepted Changes have been accepted and will go in one of the next releases. 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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Accepted Changes have been accepted and will go in one of the next releases. Bug Bug or Bug fixes
Projects
None yet
Development

No branches or pull requests

2 participants