Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Scrollable content inside the split panes #1

Open
brettdawkins opened this issue Jun 25, 2021 · 1 comment
Open

Scrollable content inside the split panes #1

brettdawkins opened this issue Jun 25, 2021 · 1 comment

Comments

@brettdawkins
Copy link

brettdawkins commented Jun 25, 2021

Hi Geoff
I'm keen to know if you have thought about scrollable content inside the split panes/divs?

Also

should be console.log(${event.detail.percent}) for the onChanged event

Brett

@GeoffCox
Copy link
Owner

I do expect callers to have scrollable content within their panes. The divs created by the split control are set to width and height of 100% to fill the area. I have to do this for calculation of the other pane based on the area of the split control.

Callers can easily get scrollable content by having the control they slot in have width and height at 100% and overflow set to scroll. Let's say then put a flex box inside their control that goes beyond the bounds, then they would have scroll bars appear.

Thanks for noticing the detail property is missing!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants