Skip to content

Commit

Permalink
Mobile - useScrollToTextInput: Remove dash
Browse files Browse the repository at this point in the history
  • Loading branch information
geriux committed Apr 3, 2023
1 parent cb22cc6 commit c37687b
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -39,10 +39,10 @@ export default function useScrollToTextInput(
/**
* Function to scroll to the current TextInput's offset.
*
* @param {Object} caret - The caret position data of the currently focused TextInput.
* @param {number} caret.caretHeight - The height of the caret.
* @param {number} textInputOffset - The offset calculated with the caret's Y coordinate + the
* - TextInput's Y coord or height value.
* @param {Object} caret The caret position data of the currently focused TextInput.
* @param {number} caret.caretHeight The height of the caret.
* @param {number} textInputOffset The offset calculated with the caret's Y coordinate + the
* TextInput's Y coord or height value.
*/
const scrollToTextInputOffset = useCallback(
( caret, textInputOffset ) => {
Expand Down

0 comments on commit c37687b

Please sign in to comment.