@@ -355,7 +355,6 @@ const FourRangeControl = memo( props => {
355355
356356 // Other necessary props for steps.
357357 newProps . withInputField = false
358- propsToPass . placeholder = ''
359358 } else {
360359 newProps . marks = undefined
361360 }
@@ -527,6 +526,10 @@ const FourRangeControl = memo( props => {
527526 onChange = { rangeOnChangeFirst }
528527 allowReset = { false }
529528 initialPosition = { ( ( ) => {
529+ if ( isFourMarkMode . first ) {
530+ return ''
531+ }
532+
530533 if ( currentHoverState !== 'normal' ) {
531534 return ''
532535 }
@@ -540,6 +543,10 @@ const FourRangeControl = memo( props => {
540543 return propsToPass . initialPosition
541544 } ) ( ) }
542545 placeholder = { ( ( ) => {
546+ if ( isFourMarkMode . first ) {
547+ return ''
548+ }
549+
543550 if ( currentHoverState !== 'normal' ) {
544551 return ''
545552 }
@@ -549,7 +556,6 @@ const FourRangeControl = memo( props => {
549556 } else if ( ( deviceType === 'Mobile' || deviceType === 'Tablet' ) && desktopHasValue . firstValue ) {
550557 return unit === _unitDesktop ? firstValueDesktop : ''
551558 }
552-
553559 return propsToPass . placeholder
554560 } ) ( ) }
555561 __nextHasNoMarginBottom
@@ -587,6 +593,10 @@ const FourRangeControl = memo( props => {
587593 onChange = { rangeOnChangeVertical }
588594 allowReset = { false }
589595 initialPosition = { ( ( ) => {
596+ if ( isFourMarkMode . top ) {
597+ return ''
598+ }
599+
590600 if ( currentHoverState !== 'normal' ) {
591601 return ''
592602 }
@@ -600,6 +610,10 @@ const FourRangeControl = memo( props => {
600610 return propsToPass . initialPosition
601611 } ) ( ) }
602612 placeholder = { ( ( ) => {
613+ if ( isFourMarkMode . top ) {
614+ return ''
615+ }
616+
603617 if ( currentHoverState !== 'normal' ) {
604618 return ''
605619 }
@@ -644,6 +658,10 @@ const FourRangeControl = memo( props => {
644658 onChange = { rangeOnChangeHorizontal }
645659 allowReset = { false }
646660 initialPosition = { ( ( ) => {
661+ if ( isFourMarkMode . left ) {
662+ return ''
663+ }
664+
647665 if ( currentHoverState !== 'normal' ) {
648666 return ''
649667 }
@@ -657,6 +675,10 @@ const FourRangeControl = memo( props => {
657675 return propsToPass . initialPosition
658676 } ) ( ) }
659677 placeholder = { ( ( ) => {
678+ if ( isFourMarkMode . left ) {
679+ return ''
680+ }
681+
660682 if ( currentHoverState !== 'normal' ) {
661683 return ''
662684 }
@@ -705,6 +727,10 @@ const FourRangeControl = memo( props => {
705727 onChange = { rangeOnChangeTop }
706728 allowReset = { false }
707729 initialPosition = { ( ( ) => {
730+ if ( isFourMarkMode . top ) {
731+ return ''
732+ }
733+
708734 if ( currentHoverState !== 'normal' ) {
709735 return ''
710736 }
@@ -718,6 +744,10 @@ const FourRangeControl = memo( props => {
718744 return propsToPass . initialPosition
719745 } ) ( ) }
720746 placeholder = { ( ( ) => {
747+ if ( isFourMarkMode . top ) {
748+ return ''
749+ }
750+
721751 if ( currentHoverState !== 'normal' ) {
722752 return ''
723753 }
@@ -764,6 +794,10 @@ const FourRangeControl = memo( props => {
764794 onChange = { rangeOnChangeRight }
765795 allowReset = { false }
766796 initialPosition = { ( ( ) => {
797+ if ( isFourMarkMode . right ) {
798+ return ''
799+ }
800+
767801 if ( currentHoverState !== 'normal' ) {
768802 return ''
769803 }
@@ -777,6 +811,10 @@ const FourRangeControl = memo( props => {
777811 return propsToPass . initialPosition
778812 } ) ( ) }
779813 placeholder = { ( ( ) => {
814+ if ( isFourMarkMode . right ) {
815+ return ''
816+ }
817+
780818 if ( currentHoverState !== 'normal' ) {
781819 return ''
782820 }
@@ -823,6 +861,10 @@ const FourRangeControl = memo( props => {
823861 onChange = { rangeOnChangeBottom }
824862 allowReset = { false }
825863 initialPosition = { ( ( ) => {
864+ if ( isFourMarkMode . bottom ) {
865+ return ''
866+ }
867+
826868 if ( currentHoverState !== 'normal' ) {
827869 return ''
828870 }
@@ -836,6 +878,10 @@ const FourRangeControl = memo( props => {
836878 return propsToPass . initialPosition
837879 } ) ( ) }
838880 placeholder = { ( ( ) => {
881+ if ( isFourMarkMode . bottom ) {
882+ return ''
883+ }
884+
839885 if ( currentHoverState !== 'normal' ) {
840886 return ''
841887 }
@@ -882,6 +928,10 @@ const FourRangeControl = memo( props => {
882928 onChange = { rangeOnChangeLeft }
883929 allowReset = { false }
884930 initialPosition = { ( ( ) => {
931+ if ( isFourMarkMode . left ) {
932+ return ''
933+ }
934+
885935 if ( currentHoverState !== 'normal' ) {
886936 return ''
887937 }
@@ -895,6 +945,10 @@ const FourRangeControl = memo( props => {
895945 return propsToPass . initialPosition
896946 } ) ( ) }
897947 placeholder = { ( ( ) => {
948+ if ( isFourMarkMode . left ) {
949+ return ''
950+ }
951+
898952 if ( currentHoverState !== 'normal' ) {
899953 return ''
900954 }
0 commit comments