use-caret-position

A custom React hook for grabbing the caret position in an input field

Browse on unpkg