marclundgren/liferay-portal — pull request #118 by mjbradford89 (2014-05-12 20:34:43+00:00)
Title: LPS-46696 - Prevent unintentional portlet dragging on mobile devices

Hi Marc,

So this fix uses U.UA.touchEnabled to determine if touch handles should be used. I think, for right now, this may be the best way. The issues with it are if the user is on a touch device but also has a mouse, they will have to click the handle to drag. But I don't think that is a huge problem for that very narrow use case.

If we were to use screen width instead (ie. only media queries), there is a chance a user on a desktop who resized their window to very narrow would have to use the touch handles to drag. I think that is a slightly broader use case which is why I didn't go with it.

Please let me know your thoughts.

Thanks!