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(
6666 YogaMeasureMode heightMode ) {
6767 if (!mMeasured ) {
6868 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 );
7270 reactSlider .measure (spec , spec );
7371 mWidth = reactSlider .getMeasuredWidth ();
7472 mHeight = reactSlider .getMeasuredHeight ();
Original file line number Diff line number Diff line change 10761076 prettier "1.16.4"
10771077
10781078" @react-native-community/slider@./src " :
1079- version "2.0.2 "
1079+ version "2.0.4 "
10801080
10811081" @types/babel__core@^7.1.0 " :
10821082 version "7.1.2"
You can’t perform that action at this time.
0 commit comments