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

Ctrl + Mousewheel on timeline zooms the whole devtools #1450

Closed
Akryum opened this issue May 25, 2021 · 3 comments
Closed

Ctrl + Mousewheel on timeline zooms the whole devtools #1450

Akryum opened this issue May 25, 2021 · 3 comments

Comments

@Akryum
Copy link
Member

Akryum commented May 25, 2021

Using Ctrl + mouse wheel to zoom on the timline canvas will also zoom the whole devtools panel, despite using preventDefault() here: https://github.com/vuejs/vue-devtools/blob/62adb37268c01cd4af343341d84328fbc4adb64f/packages/app-frontend/src/features/timeline/TimelineView.vue#L789-L790

Related Firefox bug:
https://bugzilla.mozilla.org/show_bug.cgi?id=1632465

@andyrichardson
Copy link

Hey @Akryum it looks like you have a similar problem to us over at urql devtools.

Along with the firefox scrollwheel bug, you might also want to know about the chrome pinch-to-zoom bug.

For our use case, we've added additional buttons to zoom - feel free to check it out here for inspiration 😄

@Akryum
Copy link
Member Author

Akryum commented Jun 7, 2021

Added buttons to work around that in the meantime:

image

@Akryum
Copy link
Member Author

Akryum commented Feb 9, 2022

Changed to zoom with mousewheel without ctrl

@Akryum Akryum closed this as completed Feb 9, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants