-
-
Notifications
You must be signed in to change notification settings - Fork 4.7k
Open
Labels
component: SliderIssue related to Slider ComponentIssue related to Slider Component
Description
Hi! 👋
Firstly, thanks for your work on this project! 🙂
Today I used patch-package to patch @rneui/base@4.0.0-rc.8 for the project I'm working on.
Here is the diff that solved my problem:
diff --git a/node_modules/@rneui/base/dist/Slider/Slider.js b/node_modules/@rneui/base/dist/Slider/Slider.js
index 87dab6d..4f8e42a 100644
--- a/node_modules/@rneui/base/dist/Slider/Slider.js
+++ b/node_modules/@rneui/base/dist/Slider/Slider.js
@@ -15,7 +15,7 @@ import { Rect } from './components/Rect';
import { SliderThumb } from './components/SliderThumb';
const TRACK_SIZE = 4;
const THUMB_SIZE = 40;
-const TRACK_STYLE = Platform.select({ web: 0, default: -1 });
+const TRACK_STYLE = Platform.select({ web: 0, default: -1 ,android:0 , ios:0 });
const DEFAULT_ANIMATION_CONFIGS = {
spring: {
friction: 7,This issue body was partially generated by patch-package.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
component: SliderIssue related to Slider ComponentIssue related to Slider Component