Skip to content

Instantly share code, notes, and snippets.

@fieldoffice
Created March 2, 2022 11:13
Show Gist options
  • Select an option

  • Save fieldoffice/e5c50cdff5ad8c14625ae09943e8575f to your computer and use it in GitHub Desktop.

Select an option

Save fieldoffice/e5c50cdff5ad8c14625ae09943e8575f to your computer and use it in GitHub Desktop.

Revisions

  1. fieldoffice created this gist Mar 2, 2022.
    7 changes: 7 additions & 0 deletions react_select.tsx
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,7 @@
    // Remove styling from react-select
    const styleProxy = new Proxy({}, {
    get: (target, propKey) => () => {}
    });

    // Keep menu open
    menuIsOpen='true'