Skip to content

Chrome DevTools breaks panning #149

Closed
@FelixZY

Description

@FelixZY

Opening the chrome devtools causes pan speed to increase by 4x (verified by making code changes). Closing them again causes speed to return to normal.

devtools_break_pan.mp4

I'm inclined to submit a bug report with chromium but perhaps there is some insight to be made here first.

Steps to reproduce

  1. Go to https://drawdb.vercel.app/editor
  2. Add some tables to be able to see the effect of panning
  3. Open the chrome devtools
  4. (Optional - makes the bug stand out more) zoom out a little
  5. Pan around

Expected

Normal panning speed

Actual

4x panning speed

Additional context

Also tested on main (0899b2c) with identical results.

OS: Ubuntu 20.04.6 LTS (focal) (64-bit)
Google Chrome: 122.0.6261.111 (Official Build) (64-bit), 126.0.6478.126 (Official Build) (64-bit)
Opera: 111.0.5168.43 (chromium 125.0.6422.143)

Firefox (126.0.1 (64-bit)) does not have any issues.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions