-
Notifications
You must be signed in to change notification settings - Fork 269
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Web-Specific Fixes for onValueChange and Deprecated React Methods (#563)
* Fix web-specific onValueChange behavior and deprecate React methods - Modify onValueChange in RNCSliderNativeComponent.web.tsx for web platform to ensure it's called only during user interaction. - Replace deprecated StyleSheet.compose with array syntax in Slider.tsx and RNCSliderNativeComponent.web.tsx. * Fix linting issues and improve code formatting in slider component - Adjust onResponderMove and closing tag syntax for better readability and consistency - Ensure adherence to project's linting rules for cleaner code structure * Fix snapshot test issues by refining style definition in Slider - Adjust the style array in Slider.tsx to conditionally include props.style - Resolve snapshot test failures by preventing inclusion of undefined in style array - Eliminate the need for updating snapshots as component rendering remains consistent
- Loading branch information
Showing
2 changed files
with
12 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters