]
Viliam Rockai updated GTNPORTAL-3030:
-------------------------------------
Status: Pull Request Sent (was: Open)
Git Pull Request:
I have disabled the automatic menu closing for touch devices = devices where the event
"touchstart" occurred.
Responsive Navigation Portlet closes menu on android browser
------------------------------------------------------------
Key: GTNPORTAL-3030
URL:
https://issues.jboss.org/browse/GTNPORTAL-3030
Project: GateIn Portal
Issue Type: Bug
Security Level: Public(Everyone can see)
Components: Mobile
Reporter: Matt Wringe
Assignee: Viliam Rockai
When using the responsive navigation portlet on the android 'browser' and a menu
is open, it will be closed if the user touches anywhere else on the screen.
This has to do with how the older android browser handles mouse and touch events. In this
case, a virtual mouse pointer mover away from the menu, which causes the
'mouseleave' event to occur (which closes the menu).
For example, when the user is zoomed in on the screen with the menu open, they may need
to swipe to the left to access the newly opened menu. But when they touch the screen to
pan, this causes the menu to close.
Note: this issue requires
https://github.com/gatein/gatein-portal/pull/467 to be merged,
since the nav menu does not work on the android 'browser' without this fix.
Note: there is no 'touchleave' event and touchstart/touchmove/touchstop does not
get called when a touch event occurs outside of the menu. This may require reconfiguring
how the menu operates.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: