Scrolling over metric chart triggers timerange zoom in firefox

Summary

There is inconsistent behavior in how the zoom-scroll on our metric charts work on Firefox vs Chrome.

Steps to reproduce

  1. Open firefox
  2. Visit a project where Operations/Metrics is enabled and visible
  3. Scroll on page, allowing cursor to pass over a metric chart
  4. Observe the chart's timerange changing (even though the pointer event did not hover the chart at the start)

Example Project

What is the current bug behavior?

  • Chart zooms when scrolling over on firefox

What is the expected correct behavior?

  • Chart should not zoom when scrolling over on firefox (should match chrome behavior)

Relevant logs and/or screenshots

(Paste any relevant logs - please use code blocks (```) to format console output, logs, and code as it's tough to read otherwise.)

Output of checks

This bug happens on GitLab.com

Results of GitLab environment info

Expand for output related to GitLab environment info

(For installations with omnibus-gitlab package run and paste the output of: sudo gitlab-rake gitlab:env:info)

(For installations from source run and paste the output of: sudo -u git -H bundle exec rake gitlab:env:info RAILS_ENV=production)

Results of GitLab application Check

Expand for output related to the GitLab application check

(For installations with omnibus-gitlab package run and paste the output of: sudo gitlab-rake gitlab:check SANITIZE=true)

(For installations from source run and paste the output of: sudo -u git -H bundle exec rake gitlab:check RAILS_ENV=production SANITIZE=true)

(we will only investigate if the tests are passing)

Possible fixes

(If you can, link to the line of code that might be responsible for the problem)

Assignee Loading
Time tracking Loading