-
Notifications
You must be signed in to change notification settings - Fork 8.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Controls] Debounce time slider selections (#201885)
## Summary This PR fixes the [[Controls] Debounce time slider selections](#193227) issue. Previously when the user was dragging the time slider, the dashboard would be updating constantly causing lagging on more complex dashboards. This PR adds a local state that will hold the updating values while the user is dragging, and updates the dashboards once the user stops dragging with a delay of 300. https://github.com/user-attachments/assets/45bca92e-f92a-4c1f-8417-a0a0818c7415 --------- Co-authored-by: Hannah Mudge <[email protected]> Co-authored-by: kibanamachine <[email protected]>
- Loading branch information
1 parent
5df5e4f
commit 87d15ba
Showing
2 changed files
with
68 additions
and
23 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters