sveltekit-ui 1.0.50 → 1.0.51
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -101,6 +101,7 @@ export function create_slider_manager(config) {
|
|
|
101
101
|
is_pointer_down = true
|
|
102
102
|
if (e) {
|
|
103
103
|
e.preventDefault()
|
|
104
|
+
e.stopPropagation()
|
|
104
105
|
const percent_decimal = get_e_percentage(e)
|
|
105
106
|
if (Array.isArray(working_val) && working_val.length > 0) {
|
|
106
107
|
const percentage_decimals = working_val.map((h) => (h - min) / (max - min))
|
package/package.json
CHANGED
|
@@ -101,6 +101,7 @@ export function create_slider_manager(config) {
|
|
|
101
101
|
is_pointer_down = true
|
|
102
102
|
if (e) {
|
|
103
103
|
e.preventDefault()
|
|
104
|
+
e.stopPropagation()
|
|
104
105
|
const percent_decimal = get_e_percentage(e)
|
|
105
106
|
if (Array.isArray(working_val) && working_val.length > 0) {
|
|
106
107
|
const percentage_decimals = working_val.map((h) => (h - min) / (max - min))
|