Skip to content

Editor collapses if dynamic height is set. #44

@mhus

Description

@mhus

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]

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions