Skip to content

Commit

Permalink
[Security Solution] Uncommon processes table pagination popover not r…
Browse files Browse the repository at this point in the history
…endering in the correct position (#189201)

## Summary
Table Pagination popover is not rendering in the correct position under
Uncommon Processes table. This is a custom pagination used under explore
pages.
When user clicked on "Rows per page: 10" pagination button, the popover
with options was appearing in the middle of the table (horizontally).
With this fix it appears where it should.
 
Issue: #188933

Before:


https://github.com/user-attachments/assets/4bd42a7e-fe67-4193-9484-5e1d8252a405


Now:


https://github.com/user-attachments/assets/58ba703e-7358-45d7-84d6-4ebbc74bcc2c



### Checklist

Delete any items that are not applicable to this PR.

- [ ] [Unit or functional
tests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)
were updated or added to match the most common scenarios

---------

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
  • Loading branch information
agusruidiazgd and elasticmachine authored Jul 30, 2024
1 parent 82c87a7 commit fa6d4aa
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 8 deletions.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -307,8 +307,8 @@ const PaginatedTableComponent: FC<SiemTables> = ({
onChange={onChange}
sorting={tableSorting}
/>
<FooterAction>
<EuiFlexItem>
<FooterAction justifyContent="space-between">
<EuiFlexItem grow={false}>
{itemsPerRow &&
itemsPerRow.length > 0 &&
totalCount >= itemsPerRow[0].numberOfRow && (
Expand Down

0 comments on commit fa6d4aa

Please sign in to comment.