Skip to content

Scroller does not honor focus-ring #10402

@knoobie

Description

@knoobie

Description

Placing a field inside a scroller results in non-visible / cut focus-ring.

Image

Expected outcome

focus-ring is not cut.

Minimal reproducible example

html { --lumo-input-field-pointer-focus-visible: 1; }
var field = new TextField("Textfield with border");
field.focus();
var scroller = new Scroller(field);
scroller.getStyle().setMaxWidth("fit-content"); // used to show the "cut" on both sides
add(scroller);

Steps to reproduce

  1. Execute Code.

Environment

Vaadin version(s): 24.9.x
OS: MacOS / FF

Metadata

Metadata

Assignees

No one assigned

    Labels

    UXUser experience issuedocumentationImprovements or additions to documentationthemevaadin-scrollerwontfixThis will not be worked on

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions