Skip to content

[BUG] Appearing error text causes shift in layout #586

@AQS-DTheuke

Description

@AQS-DTheuke

Describe the bug

The elements following an input element that gets an error text is shifts by the error text.

To Reproduce

Steps to reproduce the behavior:

  1. Go to https://b2b-design-system.otto.market/?path=/story/components-form-input--error&args=invalid:!false
  2. Open the browser debug console/html tab
  3. Hover over the component and look at it's size.
  4. Toggle invalid
  5. Hover over the component and notice it's size has changed

Expected behavior

According to UX the size should stay the same.

Screenshots

Image

Image

Framework Used

  • Vue 3.5.16
  • Firefox
  • Local, deployment to nonlive pending

Package

  • @otto-de/b2b-core-components: 1.31.0

Additional context

  • None

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions