MCPcopy
hub / github.com/JedWatson/react-select / focusInput

Method focusInput

packages/react-select/src/Select.tsx:891–894  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

889 // ==============================
890
891 focusInput() {
892 if (!this.inputRef) return;
893 this.inputRef.focus();
894 }
895 blurInput() {
896 if (!this.inputRef) return;
897 this.inputRef.blur();

Callers 3

componentDidMountMethod · 0.95
componentDidUpdateMethod · 0.95
SelectClass · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected