Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ export const ScrollingLongContent = (): JSXElement => {
<DialogSurface>
<DialogBody>
<DialogTitle>Dialog title</DialogTitle>
<DialogContent>
<DialogContent tabIndex={0}>
<p>
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et
dolore magna aliqua. Nisl pretium fusce id velit ut tortor. Leo vel fringilla est ullamcorper. Eget est
Expand Down Expand Up @@ -142,7 +142,7 @@ ScrollingLongContent.parameters = {
docs: {
description: {
story:
'By default `DialogContent` should grow until it fits viewport size, overflowed content will be scrollable',
'By default `DialogContent` should grow until it fits viewport size, overflowed content will be scrollable. When the content has no focusable elements, set `tabIndex={0}` on `DialogContent` to enable keyboard scrolling.',
},
},
};