OpenSearch-Dashboards icon indicating copy to clipboard operation
OpenSearch-Dashboards copied to clipboard

[BUG] 2.13.0 Discover - using "refresh every" closes panel instantly

Open sandervandegeijn opened this issue 1 year ago • 2 comments

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 avatar Apr 16 '24 18:04 sandervandegeijn

@sandervandegeijn thanks for opening, we were able to re-produce it.

kavilla avatar Apr 23 '24 17:04 kavilla

Fantastic, thank you!

sandervandegeijn avatar Apr 23 '24 21:04 sandervandegeijn

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.

sam-merrell-sp avatar Jun 20 '24 22:06 sam-merrell-sp

This is resolved in https://github.com/opensearch-project/OpenSearch-Dashboards/pull/6167 The problem is double render causing unmount.

ananzh avatar Jun 21 '24 16:06 ananzh

Fantastic - thanks!

sandervandegeijn avatar Jun 21 '24 16:06 sandervandegeijn