Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TimeSeriesSlider remove useEffect&useState #2723

Merged
merged 1 commit into from
Nov 12, 2024

Conversation

okauppinen
Copy link
Contributor

Not sure why sliderPoints and handleX was set using setState & useEffect. It seems to work more reliably without them. Changed to set state with different method in: #2677 This should also fix the issue where rendering new state doesn't update handleX value.

@ZakarFin ZakarFin added this to the 2.14.0 milestone Nov 12, 2024
@ZakarFin ZakarFin merged commit 4a28aca into oskariorg:develop Nov 12, 2024
1 check passed
@okauppinen okauppinen deleted the timeseries-slider-effect branch November 13, 2024 08:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants