OpenSearch-Dashboards
OpenSearch-Dashboards copied to clipboard
[BUG] 2.13.0 Discover - using "refresh every" closes panel instantly
Describe the bug
https://github.com/opensearch-project/OpenSearch-Dashboards/assets/2643715/6203ceda-7d30-48c5-964a-7e1d1a1e3835
Expected behavior I'm able to type whatever value I want and press start
OpenSearch Version 2.13.0
Dashboards Version 2.13.0
Plugins Default docker container
Screenshots
^^
Host/Environment (please complete the following information): FIrefox 124.0.2 (64-bit)
Additional context
N/A
@sandervandegeijn thanks for opening, we were able to re-produce it.
Fantastic, thank you!
https://github.com/opensearch-project/oui/blob/1d739204794aa3db30d85cd188a4291647a35eec/src/components/date_picker/super_date_picker/quick_select_popover/refresh_interval.tsx#L116-L124 it appears this is the likely cause of the bug.
This is resolved in https://github.com/opensearch-project/OpenSearch-Dashboards/pull/6167 The problem is double render causing unmount.
Fantastic - thanks!