Commit f40cc3f
Fix bug in Safari where number input field click-and-drag can't be released (#2876)
* Put target and requestPointerLock inside the pointerDown handler to fix dragging bug in Safari and Nightly
* Rephrased comment for clarity
* Removed the mention of Nightly from the comment to avoid confusion for Safari specific bug
---------
Co-authored-by: Seray Ciftci <seri@Mac.fritz.box>
Co-authored-by: Keavon Chambers <keavon@keavon.com>1 parent 99966d8 commit f40cc3f
1 file changed
Lines changed: 9 additions & 8 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
315 | 315 | | |
316 | 316 | | |
317 | 317 | | |
| 318 | + | |
| 319 | + | |
| 320 | + | |
| 321 | + | |
| 322 | + | |
| 323 | + | |
| 324 | + | |
318 | 325 | | |
319 | 326 | | |
320 | 327 | | |
| |||
325 | 332 | | |
326 | 333 | | |
327 | 334 | | |
328 | | - | |
| 335 | + | |
329 | 336 | | |
330 | 337 | | |
331 | 338 | | |
| |||
340 | 347 | | |
341 | 348 | | |
342 | 349 | | |
343 | | - | |
344 | | - | |
345 | | - | |
346 | | - | |
347 | | - | |
348 | | - | |
349 | | - | |
| 350 | + | |
350 | 351 | | |
351 | 352 | | |
352 | 353 | | |
| |||
0 commit comments