File tree Expand file tree Collapse file tree 2 files changed +2
-4
lines changed
src/android/src/main/java/com/reactnativecommunity/slider Expand file tree Collapse file tree 2 files changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -66,9 +66,7 @@ public long measure(
66
66
YogaMeasureMode heightMode ) {
67
67
if (!mMeasured ) {
68
68
SeekBar reactSlider = new ReactSlider (getThemedContext (), null , STYLE );
69
- final int spec = View .MeasureSpec .makeMeasureSpec (
70
- ViewGroup .LayoutParams .WRAP_CONTENT ,
71
- View .MeasureSpec .UNSPECIFIED );
69
+ final int spec = View .MeasureSpec .makeMeasureSpec (0 , View .MeasureSpec .UNSPECIFIED );
72
70
reactSlider .measure (spec , spec );
73
71
mWidth = reactSlider .getMeasuredWidth ();
74
72
mHeight = reactSlider .getMeasuredHeight ();
Original file line number Diff line number Diff line change 1076
1076
prettier "1.16.4"
1077
1077
1078
1078
" @react-native-community/slider@./src " :
1079
- version "2.0.2 "
1079
+ version "2.0.4 "
1080
1080
1081
1081
" @types/babel__core@^7.1.0 " :
1082
1082
version "7.1.2"
You can’t perform that action at this time.
0 commit comments