NightCatSama / vue-slider-component

🌡 A highly customized slider component
https://nightcatsama.github.io/vue-slider-component
MIT License
2.39k stars 341 forks source link

Allow tabindex to be disabled #650

Closed Flambe closed 1 year ago

Flambe commented 1 year ago

Describe the feature

I use the slider to only display values in my app. As the tabindex on the slider dots is forcefully set to always be on, this disrupts my users flow through the application as it picks up every slider dot on the page.

Describe the solution you'd like

The ability to toggle tabindex to -1 (aka disabling it).

NightCatSama commented 1 year ago

You can use dotAttrs to set it.

:dotAttrs="{ tabindex: -1 }"

Flambe commented 1 year ago

I completely missed that! It works perfectly, thank you :)