2.0.0-beta.0
Pre-release
Pre-release
sanniassin
released this
10 May 14:25
·
66 commits
to master
since this release
- Fixed deprecation warning in future React 16.4 (replaced componentWillReceiveProps with componentDidUpdate)
- Removed ES module to avoid confusion with default import in some environments
- Added
beforeMaskedValueChange
property to allow to implement custom masking logic - Log error into console if maxLength property is defined on masked input (#128)
- Fixed cimoatibility with IE8 (why drop legacy if it's easy to support)
- Fixed cursor position after deleting range that includes mask prefix
- Fixed cursor position on backspace over permanent character on platforms with broken
keydown
event - Fixed inconsistent behavior between typing and pasting the same character over mask prefix
- A lot of refactoring (thanks to @TrySound)