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

Examples: Fix delay when switching between orbit and pan mode #30252

Open
wants to merge 1 commit into
base: dev
Choose a base branch
from

Conversation

rinkaaan
Copy link

@rinkaaan rinkaaan commented Jan 2, 2025

Description

There is lag when switching between orbit and pan controls, leading to poor user experience

Example with fix
Example without fix

Screen.Recording.2025-01-02.at.10.44.19.AM.mov

@Mugen87
Copy link
Collaborator

Mugen87 commented Jan 3, 2025

I'm afraid I don't understand the issue. I can't reproduce a lag on a Mac mini with Chrome.

@rinkaaan
Copy link
Author

rinkaaan commented Jan 3, 2025

Strange, I am getting the issue when using trackpad on M1 MacBook Pro.

I am using three finger drag for panning if it matters...

image

@rinkaaan
Copy link
Author

rinkaaan commented Jan 3, 2025

By lag I mean I expect orbit control to activate as soon as shift is released but the pan mode sticks for a few extra ms after releasing shift.

If the issue can't be reproduced then I'm fine with just using my custom orbit control implementation locally and closing this PR lol

@Mugen87
Copy link
Collaborator

Mugen87 commented Jan 4, 2025

Let's keep this PR open for a bit, especially since you have provided test links. Maybe someone else can reproduce.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants