yarn react-number-format 5.2.0
Bug fixes and valueIsNumericString prop improvement.

latest releases: 5.4.2, 5.4.1, 5.4.0...
16 months ago

Improvements

  • Optimize rendering, and avoid multiple rerender when number format is mounted.
  • Try to guess valueIsNumericString based on props and value, so the user no longer has to define this prop, if the format prop (prefix/ suffix for numeric format, format prop for pattern format) doesn't have the number in it.

Fixes

  • Fixes #736 - Fix for focus on mount getting reset.
  • Fixed #740 - fixed type for the format, removeFormat, getCaretBoundary.
  • Fixed #741 - Thousand and decimal formatting broken while typing when value isNumericString is set to false
  • Fixed #742 - cursor position getting changed when format props are updated during typing.
  • Fixed #725 - The cursor position not being correct when allowed decimal separator is typed
  • Fixed a couple of false positive tests and some regressions around those.

Don't miss a new react-number-format release

NewReleases is sending notifications on new releases.