fix(range): allow overflow on range bar container (#26751)

This commit is contained in:
Sean Perkins
2023-02-13 17:06:42 -05:00
committed by GitHub
parent 180ee63ff7
commit edf696cac9
4 changed files with 15 additions and 8 deletions

View File

@ -763,7 +763,16 @@ Developers can dismiss this warning by removing their usage of the "legacy" prop
<div class="range-bar-container">
<div class="range-bar" role="presentation" part="bar" />
<div class="range-bar range-bar-active" role="presentation" style={barStyle} part="bar-active" />
<div
class={{
'range-bar': true,
'range-bar-active': true,
'has-ticks': ticks.length > 0,
}}
role="presentation"
style={barStyle}
part="bar-active"
/>
</div>
{renderKnob(rtl, {