Skip to content

[upload] Component out of bounds when added to FormLayout #808

@rolandoisidoro

Description

@rolandoisidoro

Description

vaadin-form-layout-flow offers two methods to add components:

  1. add from implementing the HasComponent interface;
  2. addFormItem;

When adding an Upload component to a FormLayout component, using the 1st method it's rendered out of bounds, while using the 2nd method everything is rendered correctly.

Expected outcome

vaadin-addformitem-upload

Actual outcome

vaadin-add-upload

Steps to reproduce

  1. Create a view with a FormLayout component;
  2. Add a Upload component to the FormLayout using the add method;
  3. Add a Upload component to the FormLayout using the addFormItem method.

Browsers Affected**

  • [x ] Chrome
  • [x ] Firefox
  • [x ] Edge (new Chromium based)

** haven't tested other browsers, but I'd say the issue is browser independent.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions