F0rce / ace

Ace Editor for Vaadin 14 & 23
MIT License
27 stars 13 forks source link

Editor collapses if dynamic height is set. #44

Open mhus opened 8 months ago

mhus commented 8 months ago

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):

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