Skip to content

Slider widget does not trigger updates unless explicitly reloaded each time #698

@HariharanBalakrishnan22

Description

Describe the bug
The slider() component does not trigger updates or re-render downstream logic when the slider is moved. The UI only updates if the page is manually refreshed or the script is re-executed.

To Reproduce
Steps to reproduce the behavior:

  1. Go to 'threshold = slider("Threshold", min_val=0, max_val=100)'
  2. Do not use threshold.value anywhere else
  3. Move the slider
  4. Observe that the UI does not react or re-render any component

Expected behavior
I expected moving the slider to automatically trigger updates in dependent components or show some indication of interactivity.

Screenshots
If applicable, add screenshots to help explain your problem.

Environment:

  • OS: macOS Ventura
  • Browser: chrome
  • Version: Cloud app

Additional context
After experimenting, I found that the slider only works when threshold.value is explicitly referenced in logic (e.g., filtering a dataframe). This makes sense based on the DAG model, but it might be confusing for new users. It would help to:
-Include better documentation around reactive input usage
-Offer a visual debugger or “reactive graph” view to show what's connected

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions