diff --git a/src/RangePips.svelte b/src/RangePips.svelte index 6fee4d1..d6d011d 100644 --- a/src/RangePips.svelte +++ b/src/RangePips.svelte @@ -110,7 +110,10 @@ top: 0; left: 0.75em; } - :global(.rangePips .pip, .rangePips .pipVal) { + :global(.rangePips .pip) { + transition: all 0.15s ease; + } + :global(.rangePips .pipVal) { transition: all 0.15s ease; } :global(.rangePips .pip) { diff --git a/src/RangeSlider.svelte b/src/RangeSlider.svelte index 96518bd..bed48b7 100644 --- a/src/RangeSlider.svelte +++ b/src/RangeSlider.svelte @@ -566,8 +566,9 @@ height: 0.5em; margin: 1em; transition: opacity 0.2s ease; + user-select: none; } - :global(.rangeSlider, .rangeSlider *) { + :global(.rangeSlider *) { user-select: none; } :global(.rangeSlider.pips) {