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

[Lens] Decimal place slider in pie is laggy #77039

Closed
flash1293 opened this issue Sep 9, 2020 · 1 comment · Fixed by #77181
Closed

[Lens] Decimal place slider in pie is laggy #77039

flash1293 opened this issue Sep 9, 2020 · 1 comment · Fixed by #77181
Assignees
Labels
bug Fixes for quality problems that affect the customer experience Feature:Lens performance Team:Visualizations Visualization editors, elastic-charts and infrastructure

Comments

@flash1293
Copy link
Contributor

flash1293 commented Sep 9, 2020

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:

  1. Go to lens
  2. Switch to pie chart
  3. Open settings popover
  4. Move around decimal places slider
  5. Slider is very laggy

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):
Screenshot 2020-09-09 at 14 19 01

Maybe it's debounced in the wrong place

@flash1293 flash1293 added bug Fixes for quality problems that affect the customer experience Team:Visualizations Visualization editors, elastic-charts and infrastructure Feature:Lens labels Sep 9, 2020
@elasticmachine
Copy link
Contributor

Pinging @elastic/kibana-app (Team:KibanaApp)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Fixes for quality problems that affect the customer experience Feature:Lens performance Team:Visualizations Visualization editors, elastic-charts and infrastructure
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants