treeloom-components
    Preparing search index...

    Function makeListKeydown

    • keydown on the list: Enter picks the highlighted option, Escape closes the list and goes back to the input. Any other key (arrows, letters) only moves the highlight.

      Parameters

      Returns (event: Event) => void