Mark Salsbery
c22e624a3d
isPrimary handling
2020-08-20 16:56:57 -07:00
Mark Salsbery
e7bc65c0af
Remove stopImmediatePropagation stub for implementation in future release
2020-08-18 20:03:38 -07:00
Mark Salsbery
6b500f1ff2
docs update
2020-08-13 17:21:32 -07:00
Mark Salsbery
8fc83c696a
Improved releasing of tracked pointers on destroy()/stopTracking() ( #1346 )
2020-08-13 16:43:49 -07:00
Mark Salsbery
5a9874e4fa
changelog update
2020-08-13 10:09:17 -07:00
Mark Salsbery
e74d83f104
New preProcessEvent event
2020-08-12 21:22:48 -07:00
Mark Salsbery
e7a62c2717
Enhanced pointer capture implementation, IE bug workarounds
2020-07-30 21:08:02 -07:00
Mark Salsbery
2d4a723854
MouseTracker enhancements, improved IE <=10 support
2020-07-25 18:30:06 -07:00
Mark Salsbery
d2bb480363
Browser sniffing and pointer events fixes and enhancements
2020-07-24 20:05:39 -07:00
Mark Salsbery
c4351f64e8
stricter linting
2020-06-25 16:01:14 -07:00
Ian Gilman
c01887f3e3
Updated NPM packages
2019-12-30 10:46:44 -08:00
SangYeob Yu
4a3f79e305
prevent multi-points errors on ipad
2019-12-18 16:48:15 +09:00
SangYeob Yu
831c06c499
fix iPadOS 13 multi-touch issue
2019-12-10 16:29:20 +09:00
Ian Gilman
ca4550d76e
Doc comment fixes
2017-07-18 16:22:26 -07:00
Ian Gilman
28f9e9e35e
Merge pull request #1244 from LarissaSmith/master
...
Fix more issues with tracking multiple pointers.
2017-07-12 16:00:38 -07:00
larissasmith
0bded9f8e1
Correct docs and add check for contact count.
2017-07-12 11:21:52 -06:00
Jose
aabfa32595
Merge conflict resolved
2017-07-10 23:01:04 +02:00
larissasmith
c3a65bab38
Replace filter with a for loop.
2017-07-10 13:54:20 -06:00
larissasmith
d9bda20e59
Fix more issues with tracking multiple pointers.
2017-07-07 16:50:03 -06:00
larissasmith
ad206a7738
Add reference to github discussion on mouse tracking bug fix.
2017-06-20 16:35:00 -06:00
larissasmith
319d27f0c0
Fix image stuck to mouse when right-clicking and left-clicking simultaneously.
...
Mouseup and mousedown events are lost when two buttons are pressed at the same time. Pressing buttons in the order left-button down, right-button down (ignored), left-button up (ignored), right-button up was leaving drag state active.
2017-06-16 14:05:35 -06:00
Jose
70bdc8839e
Some issues solved
2017-02-20 20:23:25 +01:00
Jose
d5b62aabcd
Patch to fix issue #697 , also contains improvements when panning under certain constrains
2017-02-19 17:36:53 +01:00
Antoine Vandecreme
de25b68b43
Add eslint and hound
2017-01-16 21:41:07 +01:00
Daniel Zimmermann
c25bf0a239
Correctly handle touch PointerEvents
...
`onPointerDown/Up` may call `capture/releasePointer`
with `"touch"` as the pointerType, which would result
in a bug as `touchCount` would be `undefined`.
`capture/releasePointer` should just default to a
count of `1` if not specified. This properly retains
the existing behaviour for non-TouchEvent handling.
2016-05-16 06:26:52 +10:00
Daniel Zimmermann
a4dbae0754
Handle simultaneous touch events
...
Found and tested on an iPhone 5s w/ iOS 9.2.
Not sure about other devices.
Fixes #877
2016-05-16 06:26:52 +10:00
Antoine Vandecreme
a12b74ec17
Fix @lends for new JSDoc. Fix polymorphic functions doc ( #824 ).
2016-01-24 16:09:18 -05:00
Sebastian Öberg
8f9d2a9bfe
Converted jsdoc to plain comments
2015-12-09 18:28:41 +01:00
Sebastian Öberg
2ab6f18cee
Changed isInIframe to a variable for caching
2015-12-09 11:04:37 +01:00
Sebastian Öberg
703f922ed8
Fixed drag release outside of iframe when the iframe is on the same domain.
2015-12-08 11:22:29 +01:00
Javier Quevedo
f20d2ffa4d
Fixed issue in iOS devices that would cause all touch events to fail after a Multitasking Gesture was triggered. The fix works by aborting all touch contacts after a touch has been cancelled, since the Multitasking Gestures in iOS trigger the TouchCancel event on those touches which were active..
2015-10-16 15:52:20 +02:00
Antoine Vandecreme
606d25dbe6
Merge upstream.
2015-06-08 10:38:16 -04:00
Mark Salsbery
1da57564df
Merge branch 'master' into mousetracker_defaulton
...
Conflicts:
changelog.txt
src/navigator.js
2015-01-21 11:18:52 -08:00
Mark Salsbery
545997bace
MouseTracker now defaults to tracking on ( #558 )
2015-01-20 18:35:58 -08:00
Mark Salsbery
912f82d36d
IE 11 fix and Merge branch 'master' into mousetracker_MSPointerEvent
...
Conflicts:
changelog.txt
2015-01-20 13:28:30 -08:00
Mark Salsbery
3b01014ac8
Fixed pointer event model detection for IE 10 ( #571 )
2015-01-20 10:26:14 -08:00
Mark Salsbery
e87020cf78
Removed 'position' property from MouseTracker keyDownHandler/keyUpHandler/keyHandler functions
...
Positional data is not available in the corresponding DOM event objects
2015-01-20 09:48:28 -08:00
Mark Salsbery
2831771af5
MouseTracker - keyboard handling
...
1) MouseTracker - added keydown and keyup handlers
2) Modifier keys ignored in keyboard navigation handlers (#503 )
3) Arrow key navigation fixed across platforms (#565 )
2015-01-16 16:26:30 -08:00
Mark Salsbery
8e5e2168c8
Ensure capture released in abortTouchContacts()
2015-01-16 08:33:34 -08:00
Mark Salsbery
cb56e352cf
Mousetracker Improvements
...
1) MouseTracker - Simulated touchenter/touchleave events now bubble to parent element MouseTrackers
2) MouseTracker - Improved multitouch support in enter/exit event handlers
3) MouseTracker - orphaned tracked touch pointers removed (fix for #539 )
4) MouseTracker - removed touchenter/touchleave event support since the events don't exist on any known platform and have been removed from the W3C specification
5) Removed Viewer onContainerPress/onContainerRelease handlers (and the associated 'container-release' event ) that were never fired due to the canvas (child) element capturing the DOM events
6) Added 'canvas-enter', 'canvas-exit', and 'canvas-press' events to Viewer
7) ButtonGroup - removed obsolete MouseTracker event handlers
2015-01-15 12:15:22 -08:00
Mark Salsbery
d26d3f9393
MouseTracker - Improved IE 9+ compatibility
2015-01-14 08:44:14 -08:00
Mark Salsbery
0d6fca35c1
Fix pointer type passed to capturePointer/releasePointer in pointer events model.
...
Remembered to change the test shim as well.
2015-01-12 16:08:26 -08:00
Mark Salsbery
83ff365121
Revert "capturePointer()/releasePointer() call fix for pointer event model"
...
This reverts commit d582a9563f
.
2015-01-12 15:33:51 -08:00
Mark Salsbery
1c465ec59c
Revert "Second attempt: capturePointer()/releasePointer() call fix for pointer event model"
...
This reverts commit 1bdb83dc58
.
2015-01-12 15:33:18 -08:00
Mark Salsbery
1bdb83dc58
Second attempt: capturePointer()/releasePointer() call fix for pointer event model
2015-01-12 12:56:18 -08:00
Mark Salsbery
d582a9563f
capturePointer()/releasePointer() call fix for pointer event model
2015-01-12 12:26:38 -08:00
Mark Salsbery
755854d3f7
Renamed non-primary button events/handlers
2015-01-12 11:02:54 -08:00
Mark Salsbery
30b5ec04c6
MouseTracker Improvements
...
* Exposed secondary pointer button (middle, right, etc.) events from MouseTracker and through viewer (#479 )
* MouseTracker - Improved IE 8 compatibility
2015-01-10 14:49:02 -08:00
Mark Salsbery
b39d31a845
MouseTracker - Added explicit pointer capture for touch event model events
2014-12-31 14:30:10 -08:00
Mark Salsbery
8d4c776cd0
MouseTracker fixes for #502 , #518 , #527 , #539
2014-12-30 12:57:17 -08:00