Skip to content

Time: Find a better solution from scrollIntoView #21

@svanherk

Description

@svanherk

@dbatiste: Normally I think the actual opener (the element the user will click or focus on) should have d2l-dropdown-opener class. This class is how the dropdown logic locates the focusable opener. The d2l-dropdown-opener-behavior has some logic that I think expects this, for instance to apply focus to the opener when the use hits [Escape] inside the dropdown content. There's likely a couple more little things like that. So in this case, I think it should be on the input, but perhaps there is a reason it's not in this case?

Seems like this is not setup as Dave B suggests due to the ScrollIntoView requirements.

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