Comments (8)
I was able to reproduce now, the issue can occur if both left/right buttons are pressed simultaneously. The controls becomes stuck as explained by this issue. I'll investigate ways to solve this behaviour, thanks for reporting.
from three.js.
I think this issue should be treated separately as it is much easier to fix than #24566. I believe that reverting https://github.com/mrdoob/three.js/pull/27425/files would fix this particular issue, but of course it would be preferable to keep it while fixing this regression somehow.
I too use a magic mouse. I notice that it is really easy to reproduce like 75% of the times, but sometimes I can't reproduce it a few times in a row. Very strange. Does this video help?
from three.js.
Can you make a test if Firefox and/or Safari shows the same behavior?
I tried both of them and I'm unable to get the controls stuck (the root issue) so I think this is a Chrome-only issue.
from three.js.
Can we merge this issue into #24566? The root cause of both issues seems to be identical.
Sidenote: I still can't reproduce any pointerup
related issues on macOS with latest Chrome and a magic mouse. I'll try to reproduce the issue with a different mouse later.
from three.js.
/cc @sciecode
from three.js.
Can you make a test if Firefox and/or Safari shows the same behavior?
from three.js.
Unable to reproduce on Windows - FF/Chrome, and Ubuntu - FF/Chrome.
from three.js.
Although I can't reproduce, I can definitely say there's something inconsistent happening either with user agent or magic mouse hardware.
There are two things that shouldn't occur, judging from the reported error. The block that triggers the error is on OnPointerUp
.
three.js/examples/jsm/controls/OrbitControls.js
Lines 1065 to 1071 in a984c6f
-
Specifically the case where one pointer is lifted and one pointer remains active. However, I'm unaware of anyway this would happen on a mouse interface. So, this is problematic already.
-
Furthermore, the error implies the saved pointer-position, that is still in contact with the canvas, has
undefined
coordinates, which should also never happen.
I suspect this isn't an issue on our end, but would need more information of the events and pointerIds/positions to confirm.
from three.js.
Related Issues (20)
- TSL: Missing While Support
- Please allow full testing on components by running CI/CD tests in real DOM environment and support loading assets from disk
- rotate-to-cursor on touch events HOT 1
- VolumeNodeMaterial only renders 1x1x1 HOT 1
- normal z-buffer #webgl_camera_logarithmicdepthbuffer rendering issues cross OS, gpu, browser HOT 3
- Uncaught (in promise) ReferenceError: Request is not defined HOT 2
- TSL: Unusual right associativeness of `sub` and `div`
- what happened? How can I solve this problem? HOT 1
- TSL: Some names for a TSL function break the syntax of translated WGSL or GLSL code
- Editor: Shadow properties in OBJECT tab do not refresh UI when UNDO/REDO
- Editor: Geometry parameters in GEOMETRY tab do not get refresh when UNDO/REDO
- Inconsistent layout in `aomap_fragment` include, compared to i.e. `roughnessmap_fragment` HOT 3
- WebGPU: WebGPURenderer throws a DOMException error on a non-WebGPU browser HOT 2
- Docs: Please updates "WebGL compatibility check" page
- USDZLoader: TypeError: target is undefined HOT 2
- Improve GPUComputationRenderer performance by using fullscreen triangle HOT 3
- WebGPURenderer: Weird DirectionalLight Behavior Between WebGLRenderer and WebGPU Renderer HOT 3
- NodeMaterial: Alpha channel behaves wrong on non-transparent materials HOT 1
- `GLTFExporter` <> `GLTFLoader` round trip `TypeError: Cannot set properties of undefined (setting 'isBone')` HOT 2
- WebGLRenderTarget Texture breaks glTF export HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from three.js.