Skip to content

2.0.0

Latest

Choose a tag to compare

@GFean GFean released this 18 Apr 19:05

What's New
This release improves the reliability, flexibility, and performance of react-native-connected-inputs without changing the public API.

Improvements
Improved input-to-input navigation across forms with sparse, non-sequential, and dynamically mounted input orders.
More reliable last-field behavior, including correct returnKeyType and submit handling.
Better support for custom ref-forwarding input components.
ConnectedInputs now works more cleanly in nested child trees and preserves existing refs and onSubmitEditing handlers.
Reduced unnecessary rerenders in shared/provider-based form setups.
Fixes
Fixed edge cases where the wrong field could be treated as the last input.
Fixed issues around ref composition and handler updates during rerenders.
Fixed problems when swapping external refs on connected inputs.
Fixed submit callback updates so the latest handler is always used.
Documentation
Updated the README to better reflect the current API and supported usage patterns, especially for custom inputs and provider-based forms.
Compatibility
No intended breaking changes.
Native TextInput continues to work out of the box.
Custom inputs remain supported when they forward refs and expose focus().