Comments (5)
I merged #69 from DI-John. This sidesteps the bug in Safari and the knobs now work. There's another issue with pointer capture seemingly not working in Safari (argh wtf!), but the situation for Safari users has improved.
I'll still leave the warning popup suggesting that Safari users should use Chrome enabled, at least until we have a fix for the pointer capture bug.
from noisecraft.
@maximecb Noticed that Safari doesn't receive the expected movementY values on these mouse events, here is a possible workaround:
from noisecraft.
Thanks for taking a look DI-John. I tried out your fix and it seems to work, but I'm a bit confused because:
-
The MDN page lists Safari as supporting
MouseEvent.MovementY
, but in actuality, my Safari browser reports the value as always being zero (wtf?). So your fix seems to work, but it seems like it shouldn't be needed? The value reported formovementY
in Safari is zero, which is different from Chrome and Firefox, and clearly wrong. -
There's another bug in Safari. When the mouse is released, it triggers the node creation dialog. This should not be happening because of the pointer capture. This is more wacky behavior on the part of Safari, which I'm not sure how to address, besides maybe using an invisible div or something?
from noisecraft.
The MDN page lists Safari as supporting MouseEvent.MovementY, but in actuality, my Safari browser reports the value as always being zero (wtf?)
Yeah, that's what I encountered as well. Perhaps it's a browser bug that only happens in the context of the setPointerCapture
/ releasePointerCapture
. Might be interesting to do some tests using the movementY value in various contexts, perhaps it works just in a regular onmousemove handler without pointer capture.
There's another bug in Safari. When the mouse is released, it triggers the node creation dialog.
Hm, interesting.
from noisecraft.
Pushed a hack which should fix this problem.
from noisecraft.
Related Issues (20)
- [BUG] Unable to update string param using nodeParams dialog.
- What scale is the filter cutoff in? HOT 3
- WebAudioModule 2 support? HOT 1
- Touch Input Support HOT 1
- Music does not play without internet connection HOT 1
- Node grouping (modules) checklist HOT 2
- menu opens when knob drag/drop ends over empty space HOT 5
- add scripting support
- Quantizer HOT 4
- Feature request: ability to run audio server-side
- npm install fails HOT 2
- `BitCrush` distortion node HOT 3
- ClockDiv not dividing time properly HOT 3
- Illegal graph components delete graph on reload HOT 6
- message : 'failed to share project' HOT 3
- Scopes can't be pasted HOT 3
- Copy, cut, paste in Notes overridden by NoiseCraft behavior HOT 1
- Can't share project with Opera browser HOT 4
- MIDI channel HOT 7
- Wavefolding HOT 8
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 noisecraft.