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

[split-layout] Provide way to get the current splitter position #3768

Closed
Frettman opened this issue May 3, 2022 · 1 comment
Closed

[split-layout] Provide way to get the current splitter position #3768

Frettman opened this issue May 3, 2022 · 1 comment

Comments

@Frettman
Copy link

Frettman commented May 3, 2022

Describe your motivation

I'm currently migrating a Vaadin 7/8 application where I could register a SplitPositionChangeListener at a Horizontal/VerticalSplitPanel to remember and restore the latest splitter position set by the user.
The new vaadin-split-layout provides a splitter-dragend event, but that doesn't contain any additional information like the position.

Describe the solution you'd like

I would like a way to determine the current position of the splitter in avaadin-split-layout.

Describe alternatives you've considered

I'm not aware of any alternatives.

Additional context

No response

@web-padawan
Copy link
Member

Thanks for the issue. Closing in favor of vaadin/flow-components#1517 which contains some possible workarounds.

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