Update the touch event proxying code to better represent mouse events.

Review Request #8932 — Created May 8, 2017 and submitted

Information

Djblets
release-0.9.x
308deb8...

Reviewers

$.fn.proxyTouchEvents() now simulates mouseover/mouseout events, better
helping to make touch events compatible with more pieces of UI (in
particular, for the purposes of this change, jQuery-UI's resizable
widget). It now keeps track of what elements the user has moved their
finger over in the calculation of the events.

Touch events are only proxied if using one finger. Gestures are left
alone so that the page or browser can handle them.

This does not yet implement the mouseenter/mouseleave events, though,
which are a bit more complicated to get right.

Tested with Review Board's comment dialog, which utilizes the resizable
widget. Saw that I was able to drag the handle around, verifying that the
mouseover/mouseout events were working.

Description From Last Updated

This variable is never defined.

daviddavid
chipx86
david
  1. 
      
  2. Show all issues

    This variable is never defined.

    1. Huh, thought JSHint would have caught that.

    2. It has a hard time knowing what's defined in the closure or globally...

  3. 
      
chipx86
david
  1. Ship It!
  2. 
      
chipx86
Review request changed

Status: Closed (submitted)

Change Summary:

Pushed to release-0.9.x (2a21242)
Loading...