Replies: 1 comment 3 replies
-
@iot49 You shouldn't need to set sl-tab-panel::part(base) {
max-height: 500px;
} https://codepen.io/paramagicdev/pen/YzgGBdN?editors=1000 We wouldn't want to set explicit max-height in the library because it may be desired behavior for overflowing the tab-panel to cause the entire page to grow. |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
How do I get an
sl-tab-panel
to scroll vertically when the contents are to tall to fit the available space?The horizontal scroll bar pops up automatically as desired, but the only way I can get a vertical scroll bar to show up is by setting the height to an absolute value:
I am using the component inside a lit element, in case this matters.
BTW: I'm just getting started - so far the library looks great!
Thanks, Bernhard
Beta Was this translation helpful? Give feedback.
All reactions