CountrySelect
implemented in ReasonReact
.
demo.mp4
demo-virtual-scrolling.mp4
This project requires an OCaml installation and pnpm for development. To get started:
$ opam switch create . --with-test --deps-only -y
$ opam exec -- dune build # or just `dune build ` with `eval $(opam env)`
$ pnpm install
$ pnpm dev
Enter
/Space
/ArrowDown
- opens the search combobox when the button is focused.Escape
- closes the search combobox when the input is focused.ArrowUp
/ArrowDown
- navigates the listbox when the input is focused.Enter
- selects either the first or highlighted country in the listbox.