Files
gerrit/polygerrit-ui/app
Becky Siegel ac1280c8ce Don't display tooltips on touch devices
Previously on iOS devices, tooltips in reply dialog did not always close
when clicking outside of the button. The focusOut event was not
triggered and thus _handleHideTooltip was not called. On other devices,
the tooltip remained open when clicking on it.

This change detects when a device triggers a touch event and sets a
boolean variable that it is a touch device. If touch, we do not open and
close tooltips. This was necessary because mouseenter and mouseleave
events are still triggered on touch devices with a touch.

Also, mouseover and mouseout events were replaced with mousenter and
mouseleave events because it seemed better practice since they don't
bubble to child elements & this is what is done in paper-tooltip.

Bug: Issue 4649
Change-Id: Ia5605617b00cd9aa8b6d9ef3a4c453faf4b1a4b2
2016-10-17 17:49:31 -07:00
..
2016-09-19 17:09:53 +01:00
2016-08-04 14:37:41 -07:00