Skip to content

Enhancement: prop to set parent ref #119

Open
@dFelinger

Description

@dFelinger

Sometimes width of input is not enough for dropdown list. Idea is to pass parent element ref as prop to calculate position by this one instead of activeInputRef. Is this feature viable?

1 2

Something like this

activeInputRef.current = containerRef.current -> activeInputRef.current = props.parentRef ? props.parentRef.current : containerRef.current

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions