Skip to content

Placeholder for DBSelect with variant floating is moved down (:focus-within) #5377

@d-koppenhagen

Description

@d-koppenhagen

Which generators are affected?

  • All
  • HTML
  • React
  • Angular
  • Vue
  • Web components
  • Power Apps

Reproduction case

I created a playground (Stackblitz) for reproduction:

  1. Open the Playground
  2. Focus the select element (maybe use the Chrome DevTools: Force State:focus-within()
  3. The placeholder is moved down and now overlaps with the bottom border

Expected Behaviour

No overlap with the border. Just like DBInput (I added it to the playground for comparison)

Screenshots

Image

Browser version

None

Add any other context about the problem here.

I reported this only for React but it is possibly a general CSS bug related to all Framworks.

Which DB business unit do you work for?

DB Systel GmbH (please name your customer below)

”DB Systel” please enter your customer / ”other” please enter your area or business unit.

No response

What project are you working on?

Mobility4All

Metadata

Metadata

Assignees

No one assigned

    Type

    Projects

    Status

    Backlog

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions