diff --git a/packages/eui/.loki/reference/chrome_desktop_Tabular_Content_EuiBasicTable_Large_Expanded_Row.png b/packages/eui/.loki/reference/chrome_desktop_Tabular_Content_EuiBasicTable_Large_Expanded_Row.png new file mode 100644 index 00000000000..60a489eb18e Binary files /dev/null and b/packages/eui/.loki/reference/chrome_desktop_Tabular_Content_EuiBasicTable_Large_Expanded_Row.png differ diff --git a/packages/eui/.loki/reference/chrome_mobile_Tabular_Content_EuiBasicTable_Large_Expanded_Row.png b/packages/eui/.loki/reference/chrome_mobile_Tabular_Content_EuiBasicTable_Large_Expanded_Row.png new file mode 100644 index 00000000000..6f7b319e008 Binary files /dev/null and b/packages/eui/.loki/reference/chrome_mobile_Tabular_Content_EuiBasicTable_Large_Expanded_Row.png differ diff --git a/packages/eui/changelogs/upcoming/9206.md b/packages/eui/changelogs/upcoming/9206.md new file mode 100644 index 00000000000..499b7c691d7 --- /dev/null +++ b/packages/eui/changelogs/upcoming/9206.md @@ -0,0 +1,4 @@ +**Bug fixes** + +- Fixed a visual bug in `EuiTable` where long table row content would be cut off on mobile screens + diff --git a/packages/eui/src/components/basic_table/basic_table.stories.tsx b/packages/eui/src/components/basic_table/basic_table.stories.tsx index 5c8e98e9734..9f7b99b3d0f 100644 --- a/packages/eui/src/components/basic_table/basic_table.stories.tsx +++ b/packages/eui/src/components/basic_table/basic_table.stories.tsx @@ -7,6 +7,7 @@ */ import React, { useCallback, useEffect, useState } from 'react'; +import { css } from '@emotion/react'; import type { Meta, StoryObj } from '@storybook/react'; import { action } from '@storybook/addon-actions'; import { faker } from '@faker-js/faker'; @@ -367,6 +368,32 @@ export const HighContrastMobile: Story = { }, }; +export const LargeExpandedRow: Story = { + tags: ['vrt-only'], + args: { + tableCaption: 'EuiBasicTable playground', + items: users, + itemId: 'id', + rowHeader: 'firstName', + columns, + css: css` + margin-block-start: -300px; + `, + itemIdToExpandedRowMap: { + 1: ( +
lorem ipsum dolor sit
+