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

DateRangePicker: [Violation] 'keydown' handler took XXXms. #3764

Closed
Ville-Wennerlund opened this issue Apr 24, 2024 · 1 comment · Fixed by #3803
Closed

DateRangePicker: [Violation] 'keydown' handler took XXXms. #3764

Ville-Wennerlund opened this issue Apr 24, 2024 · 1 comment · Fixed by #3803

Comments

@Ville-Wennerlund
Copy link

Ville-Wennerlund commented Apr 24, 2024

What version of rsuite are you using?

5.59.2

What version of React are you using?

The version you are running on https://rsuitejs.com/components/date-range-picker/

What version of TypeScript are you using (if any)?

No response

What browser are you using?

Microsoft Edge

Describe the Bug

It takes a long time to edit the year when the DateRangePicker is open.

image
2. click on "2024"
3.
image
4. type "2020"
5. the following violation will be present in the console: [Violation] 'keydown' handler took 945ms

Expected Behavior

No response

To Reproduce

No response

@Ville-Wennerlund Ville-Wennerlund changed the title DateRangePicker: [Violation] 'keydown' handler took XXXms when large interval is selected. DateRangePicker: [Violation] 'keydown' handler took XXXms. Apr 24, 2024
@simonguo
Copy link
Member

Fixed in v5.61.0.

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

Successfully merging a pull request may close this issue.

2 participants