MCPcopy Index your code
hub / github.com/flyfloor/react-component / handleKeyDown

Function handleKeyDown

component/DropDown.js:355–364  ·  view source on GitHub ↗
(e)

Source from the content-addressed store, hash-verified

353 },
354
355 handleKeyDown(e){
356 const {keyCode} = e;
357 const value = this.inputField().value;
358 this.setState({
359 hasInput: true,
360 });
361
362 if (keyCode === BACKSPACE_KC && value === '') this.props.onSelectChange();
363 e.target.style.width = (value.length + 1) * 12 + 'px';
364 },
365
366
367 handleBlur(){

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…