[Lens] Decimal place slider in pie is laggy #77039
Labels
bug
Fixes for quality problems that affect the customer experience
Feature:Lens
performance
Team:Visualizations
Visualization editors, elastic-charts and infrastructure
Kibana version: 7.10
Describe the bug:
Changing the decimal places shown in the pie chart can be done via slider in the settings popover. However moving this slider is very laggy.
Steps to reproduce:
Expected behavior:
Sliding should be smooth
Screenshots (if relevant):
https://share.getcloudapp.com/rRu7AK6N
Any additional context:
When profiling this, I'm not 100% sure where the problem lies - it looks like the thread is idle for a few hundred milliseconds before updating the UI (the first series of call stacks is occurring when the slider is dragged, the second when the UI gets updated based on the user input - in between it seems like nothing is happening):
Maybe it's debounced in the wrong place
The text was updated successfully, but these errors were encountered: