No documentation on how to force handle to be focused #154
-
Describe the feature Explain it's value / reasoning |
Beta Was this translation helpful? Give feedback.
Replies: 8 comments
-
just want to highlight the fact you wrote;
and then
😂 thanks though, I get you wanted to know explicitly how to set it. 👍 |
Beta Was this translation helpful? Give feedback.
-
Ha ha, sorry. That was poorly written.
…On Thu, 9 Nov 2023, 03:34 Simon Goellner, ***@***.***> wrote:
just want to highlight the fact you wrote;
no documentation
and then
it's [used] in [some of] the documentation
😂
thanks though, I get you wanted to know explicitly how to set it. 👍
—
Reply to this email directly, view it on GitHub
<#120 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAWPAS246IHXSUPL63GCESLYDRFLDAVCNFSM6AAAAAA7DCRAEGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQMBTGEYTAMRWGE>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
I'm also looking to always have the handle show, i.e. I'd like the user to see the selected value always. |
Beta Was this translation helpful? Give feedback.
-
If you just want to ALWAYS show labels/handles; that's CSS :) <RangeSlider id="always" float />
<style>
:global(#always .rangeHandle .rangeFloat) {
opacity: 1;
top: -.2em;
transform: translate(-50%, -100%);
}
</style> ^ this should work, but I can't show you in a REPL/Demo right now as Svelte team launched version 5 and the whole Svelte Playground is broken right now |
Beta Was this translation helpful? Give feedback.
-
Here's a working "always show handle" slider |
Beta Was this translation helpful? Give feedback.
-
as for focussing on load; Here's a demo, I'll try to add it to Docs soon :) |
Beta Was this translation helpful? Give feedback.
-
https://simeydotme.github.io/svelte-range-slider-pips/en/examples/float/#focus-on-load |
Beta Was this translation helpful? Give feedback.
-
Great stuff, thanks! |
Beta Was this translation helpful? Give feedback.
https://simeydotme.github.io/svelte-range-slider-pips/en/examples/float/#focus-on-load
^ here we go :)