Home User profile
tagDiv Member
This user did not write anything. So we are just showing here some random text to make the profile page look nice :)
bartoszgeza
tagDiv Member

I have laptops which have both touch screen and a mouse pointer via a touchpad. Both input methods can be used interchangeably.

It seems I have fixed this issue on my blog – in js code setting up event listeners for megamenu I have removed the “else” statement between touch mode and desktop mode.

--- a/wordpress-experiment-en/wp-content/themes/Newspaper/js/tagdiv_theme.js
+++ b/wordpress-experiment-en/wp-content/themes/Newspaper/js/tagdiv_theme.js
@@ -3628,7 +3628,7 @@ var tdMenu = {};
);

/* DESKTOP */
- } else {
+ } /*else*/ {

var lastMenuOpen = {},
newMenuTimeout,

  • This reply was modified 8 years by bartoszgeza.
  • This reply was modified 8 years by bartoszgeza.
  • This reply was modified 8 years by bartoszgeza. Reason: Code formatting :(
bartoszgeza
tagDiv Member

Hi Catalin, I think I’m using the latest version (Newspaper 8.2).

You can see it running on https://experiment-171200.appspot.com/
As soon as I use Chrome Developer tools to emulate a touchscreen device, hovering over the menu no longer opens it. On a real touchscreen device it behaved the same way.

bartoszgeza
tagDiv Member

Hi, which version of the theme is supposed to have this fixed?
From what I see, the megamenu doesn’t expand under mouse cursor of any touch-enabled chromeos device.

Edit: sorry, probably wrong forum – I’m using the Newspaper theme.

Viewing 3 posts - 1 through 3 (of 3 total)