react-numeric-input icon indicating copy to clipboard operation
react-numeric-input copied to clipboard

Unable to call focus() or blur()

Open mhuggins opened this issue 6 years ago • 0 comments

Thanks to React's recently introduced concept of forwardRefs, a component ref can now be forwarded to an underlying element. That means that calling myRef.current.focus() against a NumericInput component could be delegated to the rendered input DOM element.

This change would allow the component to behave naturally without a special query selector lookup.

mhuggins avatar Dec 10 '18 02:12 mhuggins