Skip to content

Editor collapses if dynamic height is set. #44

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

Open
mhus opened this issue Mar 15, 2024 · 0 comments
Open

Editor collapses if dynamic height is set. #44

mhus opened this issue Mar 15, 2024 · 0 comments

Comments

@mhus
Copy link

mhus commented Mar 15, 2024

Describe the bug
AceEditor not showing up in the UI / collapses to a thin line.

To Reproduce
Steps to reproduce the behavior:

Download vaadin starter application with v24

Add AceEditor to the a page/view like

AceEditor aceEditor = new AceEditor();
aceEditor.setSizeFull();
add(aceEditor); //Add it to a layout

Run the project and open the browser

Every dynamic height will cause the problem:

AceEditor aceEditor = new AceEditor();
aceEditor.setHeight("90%");
add(aceEditor);

Expected behavior
Show AceEditior in the view fully blown to the browser.

Screenshots

See #31

Desktop (please complete the following information):

  • OS: macOS
  • Browser chrome
  • Version 24.3.5

Additional context
See pom [https://github.com/mhus/kt2l/blob/first_research/pom.xml]

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

1 participant