Skip to content

Commit

Permalink
more context in comment
Browse files Browse the repository at this point in the history
  • Loading branch information
drewdaemon committed Aug 19, 2022
1 parent b9b62b2 commit 3573df0
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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);
};
Expand Down

0 comments on commit 3573df0

Please sign in to comment.