Repository navigation
Rewritten in TypeScript. The import, props, defaults and ref methods of 0.0.20 are kept. What behaves differently.
Added
- TypeScript types (#68).
value: follows the parent (#69, #81).showCancelButton(#71, #85),placeholderAlign(#62, #65),animatedandanimationDuration(#60).searchDelay, and thesearch(),blur()andgetText()methods (#59).beforeBlur,onBlur,afterBlurandcollapseOnBlur(#27, #58, thanks AtticusFetch),onEndEditing(#36, thanks faogustavo).maxFontSizeMultiplierForInputandmaxFontSizeMultiplierForCancel(#87, #88, thanks rsml).testIDprops for every part (#72),containerStyle(#24, #45),textInputProps,clearButtonAccessibilityLabel.autoFocusalso works when it turns on later (#63, thanks JaxGit). It is documented (#48, thanks imSHIN).- Ten demos (#71), among them hide on scroll (#96) and error handling (#26), and a documentation site.
Fixed
- Crash on React Native versions without
ViewPropTypes(#99, #79), and string refs, which React 19 removed. - The keyboard closing in a loop, and focus callbacks firing again and again (#9, #80).
- The box growing without end inside a row (#45).
onChangeTextandonDeletefiring 200 ms late, and text centered while typing (#19).placeholderandcancelTitlenot updating (#76, #77).- Cancel too narrow for its title (#51), and text styles passed to its view (#18, #43, thanks Javierb).
- Icon off center with a custom height (#31). Search icon not mirrored in RTL.
useNativeDriveris always set (#94). Opacity runs on the native driver (#35).- Hidden buttons could be pressed and were read by screen readers.