react-day-picker icon indicating copy to clipboard operation
react-day-picker copied to clipboard

Bug: onPrevClick and onNextClick does not trigger

Open pdhruv93 opened this issue 1 year ago • 0 comments

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 avatar Nov 09 '23 09:11 pdhruv93