You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
URL: globo.com Browser / Version: IE 11.0/ Firefox / Chrome Operating System: Windows Problem type: Looks like the website has a bug. Site owner: Unknown
Steps to Reproduce
This issue can only be observed in desktop IE when using a prototype built that exposes Touch Events. However, you typically should be able to see these issues in Chrome by enabling Touch Events in the developer tools or using a mouse in Chrome on a device that also has a touchscreen.
1.Navigate to URL: http://www.globo.com
2.Hover mouse on menu items
3.Observe that submenus are not displayed
Actual:
Incorrect sub-menu opens up.
Expected Result:
Correct sub-menu options must open up.
Diagnosis feedback:
Internet Explorer for Windows Phone 8.1 Update now supports both Pointer Events and Touch Events. However, Internet Explorer does not yet support Touch Events on Windows (desktops, laptops, tablets, hybrids, etc). Web developers have asked us to also bring Touch Events to Internet Explorer on Windows, and we want to do that. However, we’ve identified a particular coding pattern that causes compatibility issues that prevent us from following through on this. Similarly, other desktop browsers have also seen these issues and would like to work to resolve them. This site was identified as one of several sites that may have compatibility issues due to this coding pattern. We’d like your help in updating this code so that Touch Events can be brought to all browsers on mobile and desktop.
Code Details:
The following coding pattern (or something very similar) was observed:
if('touchstart'indocument.body){elm.addEventListener('touchstart',fn1);}else{elm.addEventListener('mousedown',fn2);//only registered on browsers/devices without Touch Events}
This pattern assumes that the Touch Event API is only exposed on devices that are touch-only. As a result, devices that expose the Touch Event API but have a mouse attached may not function correctly since the mouse event handlers are not registered. Changing this pattern to use both Touch and Mouse Event handlers together will resolve this issue:
elm.addEventListener('touchstart',fn1);elm.addEventListener('mousedown',fn2);Alternatively,youmightconsiderusingPointerEventstosharecodeacrossevent handlers:
if(window.PointerEvent){elm.addEventListener('pointerdown',fn);}else{//Fallback support for browsers that do not yet support Pointer Eventselm.addEventListener('touchstart',fn);elm.addEventListener('mousedown',fn);}
The text was updated successfully, but these errors were encountered:
TheWebJustWorks
changed the title
globo.com - globo.com: Submenus are not displayed on mouse hover [msft ref# 257795]
globo.com - Submenus are not displayed on mouse hover [msft ref# 257795]
Sep 5, 2014
Microsoft Edge is the default browser for Windows 10 and all efforts are focused on the Windows 10 Anniversary Update occurring on 8/2. As this issue doesn’t repro in MS Edge, closing.
URL: globo.com
Browser / Version: IE 11.0/ Firefox / Chrome
Operating System: Windows
Problem type: Looks like the website has a bug.
Site owner: Unknown
Steps to Reproduce
This issue can only be observed in desktop IE when using a prototype built that exposes Touch Events. However, you typically should be able to see these issues in Chrome by enabling Touch Events in the developer tools or using a mouse in Chrome on a device that also has a touchscreen.
1.Navigate to URL: http://www.globo.com
2.Hover mouse on menu items
3.Observe that submenus are not displayed
Actual:
Incorrect sub-menu opens up.
Expected Result:
Correct sub-menu options must open up.
Diagnosis feedback:
Internet Explorer for Windows Phone 8.1 Update now supports both Pointer Events and Touch Events. However, Internet Explorer does not yet support Touch Events on Windows (desktops, laptops, tablets, hybrids, etc). Web developers have asked us to also bring Touch Events to Internet Explorer on Windows, and we want to do that. However, we’ve identified a particular coding pattern that causes compatibility issues that prevent us from following through on this. Similarly, other desktop browsers have also seen these issues and would like to work to resolve them. This site was identified as one of several sites that may have compatibility issues due to this coding pattern. We’d like your help in updating this code so that Touch Events can be brought to all browsers on mobile and desktop.
Code Details:
The following coding pattern (or something very similar) was observed:
This pattern assumes that the Touch Event API is only exposed on devices that are touch-only. As a result, devices that expose the Touch Event API but have a mouse attached may not function correctly since the mouse event handlers are not registered. Changing this pattern to use both Touch and Mouse Event handlers together will resolve this issue:
The text was updated successfully, but these errors were encountered: