components icon indicating copy to clipboard operation
components copied to clipboard

feat(slider): vertical slider

Open oleal opened this issue 3 years ago • 5 comments

Feature Description

slider seems to be only horizontal

for material for angular js, a "vertical" property existed for mat-slider

Use Case

chose orientation for mat-slider

oleal avatar Feb 26 '23 17:02 oleal

Any update on this feature?

sorozco2 avatar Jun 28 '23 14:06 sorozco2

Given that

image

The legacyslider will be deprecated this priority should be higher? @wagnermaciel

bgomes-bacardi avatar Aug 23 '23 07:08 bgomes-bacardi

@jelbourn Is this still a feature we are considering adding?

wagnermaciel avatar Aug 25 '23 16:08 wagnermaciel

I discussed this with the team and the unfortunate conclusion is that this is not something we plan on implementing

Context

The new mdc-based slider is built following the Material Design Component's html structure and directly using their styles (IMPORTANT: This is not owned by us). The reason why the vertical option was removed from our library is that the Material Design Slider spec & implementation do not include a vertical slider.

Why not provide one anyway?

Since we are Angular Material Components, we already have incentive not to diverge from the Material Design spec. On top of this, if we were to try to implement this on our end (on top of MDC's styles) it would be a hacky workaround at best and make it more difficult to maintain the interface between our library and theirs.

Conclusion

As long as the Material Design Spec does not include a vertical slider, our library will not be implementing one.

If you'd like to advocate for a vertical slider to get added to the Material Design Spec, please feel free to visit https://m2.material.io/components/sliders. At the bottom of the page, there is a feedback link which you can use to request this feature.

If a vertical slider is ever added to the Material Design Spec, I am more than happy to reopen this issue

wagnermaciel avatar Sep 06 '23 17:09 wagnermaciel

This issue has been automatically locked due to inactivity. Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

This action has been performed automatically by a bot.