-
Notifications
You must be signed in to change notification settings - Fork 7
Open
Labels
Description
Which component(s) are affected?
Slider (single/range)
Description
The height of the igc-slider and igx-slider differ when used in the same scenario.
Reproduction
- Use the igniteui-angular dev demos where the two sliders are compared http://localhost:4200/slider-showcase
- Add 2-3 sliders inside the
<article>
Result: Each igx-slider has a height of 100px. Each igc-slider has a height of 48px. I assume the Angular behavior is the expected one due to the flex-grow: 1 rule?
<strong>Angular Slider</strong>
<article class="sample-item">
<igx-slider ...></igx-slider>
<igx-slider ...></igx-slider>
<igx-slider ...></igx-slider>
</article>
<strong>WC Slider</strong>
<article class="sample-item">
<igc-slider ...></igc-slider>
<igc-slider ...></igc-slider>
<igc-slider ...></igc-slider>
</article>.sample-item {
display: flex;
flex-direction: column;
height: 300px;
}Workaround
Applying the [part~='base'] CSS rules on the igc-slider itself.
Is this a regression?
No or unsure. This never worker, or I haven't tried before.
Affected versions
any
Browser/OS/Node environment
N/A