You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Apr 12, 2024. It is now read-only.
browserTrigger in ngScenario is very useful to triggering UIEvent and used in many spec files.
But browserTrigger(element, 'touchstart'); is triggering MouseEvent instead of TouchEvent.
This causes ngTouch tested uncorrectly. TouchEvents has no clientX, clientY, But MouseEvent has these. So ngClick(ngTouch) with current browserTrigger will pass successfully, but with real touch-enabled device won't work.
I know Chrome, Firefox needs special flags in desktop.
Is it difficult to support TouchEvent in current browsers?