From 3573df0e704935b822cf5574412603c2f5a4fec3 Mon Sep 17 00:00:00 2001 From: Andrew Tate Date: Thu, 18 Aug 2022 20:17:37 -0500 Subject: [PATCH] more context in comment --- .../public/visualizations/datatable/components/table_basic.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/x-pack/plugins/lens/public/visualizations/datatable/components/table_basic.tsx b/x-pack/plugins/lens/public/visualizations/datatable/components/table_basic.tsx index c86b960356d72..1e9db0f6c531c 100644 --- a/x-pack/plugins/lens/public/visualizations/datatable/components/table_basic.tsx +++ b/x-pack/plugins/lens/public/visualizations/datatable/components/table_basic.tsx @@ -183,7 +183,7 @@ export const DatatableComponent = (props: DatatableRenderProps) => { : undefined; if (handler) { const wrappedHandler: typeof handler = (...args) => { - // update pagination + // switch to first page before filtering to work around EuiDataGrid bug (see https://github.com/elastic/kibana/issues/139126) onChangePage(0); return handler(...args); };