jQuery UI Touch Punch disabled

14 views
Skip to first unread message

Andrey Novoseltsev

unread,
Jan 3, 2019, 12:05:53 AM1/3/19
to sage-cell
As it was causing troubles with new jQuery shipped with Sage 8.5, jQuery UI Touch Punch is disabled on public servers.

If you are aware of any use cases for it - please test whether they are working without it or are broken. (I have no idea what it was supposed to be doing for SageMathCell.)

Jason Grout

unread,
Jan 3, 2019, 12:21:57 AM1/3/19
to Andrey Novoseltsev, sage-cell
It was introduced to allow the interact sliders to work on mobile devices. IIRC, the jqueryui sliders used in interacts *still* don't respond to touch events, so don't work on mobile devices. There may be other controls that don't work with touch events as well. Jquery UI Touch Punch converts touch events to mouse events (IIRC), so that sliders work with mobile devices.

We have the same problem with ipywidgets - our sliders also don't react to touch events. We've thought about moving to something like nouislider or a react-based slider (see https://github.com/jupyter-widgets/ipywidgets/issues/630).

Thanks,

Jason


On Wed, Jan 2, 2019 at 9:05 PM Andrey Novoseltsev <novo...@gmail.com> wrote:
As it was causing troubles with new jQuery shipped with Sage 8.5, jQuery UI Touch Punch is disabled on public servers.

If you are aware of any use cases for it - please test whether they are working without it or are broken. (I have no idea what it was supposed to be doing for SageMathCell.)

--
You received this message because you are subscribed to the Google Groups "sage-cell" group.
To unsubscribe from this group and stop receiving emails from it, send an email to sage-cell+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/sage-cell/ebb61545-42c0-43d5-b09a-72929c024bde%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages