-
Notifications
You must be signed in to change notification settings - Fork 842
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
[EuiSuperDatePicker] Error occurs when changing absolute date #3746
Comments
Pinging @elastic/siem (Team:SIEM) |
Can't reproduce this in EUI, but have been told it is flakey and doesn't always error. @elastic/kibana-app-arch team, please investigate. If you do find it's an issue in EuiSuperDatePicker, please move this issue to EUI. |
(a) This is an EUI bug. I suspect that when you edit the absolute date manually, for a brief moment you have an invalid date and then the function The steps I took to reproduce were
Doing that, I got both a React error and the When I opened the debugger and put a conditional break-point in the function This makes me suspect that the field is being validated very often and that adding a conditional break-point to it made it slower (but I'm obviously not sure). |
I was able to reproduce with a simple EUI case. Investigating further. |
I've tracked down the problem, but am running into some unrelated build side effects from the packaged library. I'll sort it out before opening a PR. |
@stephmilovic found the following bug when reviewing elastic/kibana#70713. The bug is on master and had nothing to do with the PR.
Steps to reproduce the bug:
The bug appears randomly and is not always reproducible.
The text was updated successfully, but these errors were encountered: