webscopeio/react-textarea-autocomplete

Overload setCaretPosition to also take selection position as params

XRP-DEV opened this issue · 0 comments

It would be nice if the method setCaretPosition could have the following signature.
setCaretPosition(selectionStart, selectionEnd)
or also allow the usage of setSelecetionRange.