Skip to content

Min or max property prevents expected update from input when using two handle slider #174

@aandrews-dsit

Description

@aandrews-dsit

Describe the bug

When using a double range slider variation, alongside an input box as an alternative for entering values, setting the 'min' or 'max' property on the range slider causes unexpected behaviour with the slider handle and the input box - i.e., attempting to update the slider handle position not by dragging but by entering a new number in the input box fails.

Link To Reproduce

https://svelte.dev/playground/c27ebb1263d34311b15516c7aa055fb9?version=5.34.7

Versions

  • svelte: v5.34.7
  • svelte-range-slider-pips: v4.0.0

Steps to reproduce the behavior:

No explicit error

Expected behavior

Like in this example I expected both handles to respond to input smoothly by adjusting to new positions on the slider track.

Screenshots

N/A

Device/Environtment

N/A, reproducible on svelte playground.

Additional context

Add any other context about the problem here.

Metadata

Metadata

Assignees

Labels

bugSomething isn't workinginvestigatingNot quite sure if it's valid, yet

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions