Skip to content

Commit ee5d774

Browse files
committed
fix(segment-view): scroll to correct content when height is not set
1 parent 9f1b025 commit ee5d774

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

core/src/components/segment-content/segment-content.scss

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,12 @@
99

1010
width: 100%;
1111

12+
// Workaround for a Safari/WebKit bug where flexbox children with dynamic
13+
// height (e.g., height: fit-content) are not included in the scrollable area
14+
// when using horizontal scrolling. This is needed to make the segment view
15+
// scroll to the correct content.
16+
min-height: 1px;
17+
1218
overflow-y: scroll;
1319

1420
/* Hide scrollbar in Firefox */

0 commit comments

Comments
 (0)