We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 825b58f commit 9bd6a27Copy full SHA for 9bd6a27
src/components/advanced-range-control/range-control.js
@@ -144,6 +144,11 @@ const StackableRangeControl = memo( props => {
144
placeholderValue = initialPosition
145
}
146
147
+ // Remove placeholder if it's a custom CSS
148
+ if ( typeof placeholderValue === 'string' && placeholderValue.startsWith( 'var' ) ) {
149
+ placeholderValue = ''
150
+ }
151
+
152
return <div
153
className={ classNames }
154
style={ { '--ugb-advanced-range-control--width': percentageValue } }
0 commit comments