Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2014-03-15 14:51:42

uli
Moderator
From: Cologne
Registered: 2006-08-15
Posts: 4,306

[Back-end] Hive on FF 27 only with old-school dropdown navigation

Modernizr seems to receive false information from FF 27 about touch events, injecting touch into the HTML tag on desktop computers, whereas other browsers don’t. I did some googling and found this discussion on the Modernizr issues forum.
I wish Mozilla will fix that quickly. If they don’t I hope we can find an elegant workaround.


In bad weather I never leave home without wet_plugout, smd_where_used and adi_form_links

Offline

#2 2014-03-15 15:46:48

Gocom
Developer Emeritus
From: Helsinki, Finland
Registered: 2006-07-14
Posts: 4,533
Website

Re: [Back-end] Hive on FF 27 only with old-school dropdown navigation

The issue is simple; the way the navigation is build. You simply can’t use touch support tests to hide and display elements and expect it only is displayed on touch devices. Instead it should use the width.

Offline

#3 2014-03-15 16:45:20

sacripant
Plugin Author
From: Rhône — France
Registered: 2008-06-01
Posts: 479
Website

Re: [Back-end] Hive on FF 27 only with old-school dropdown navigation

Hello Uli,
I had the same problem.
Since FF 27 or 26, it is possible to simulate touch events.
When you display Responsive View, You have a new button for active or desactive touch event.
I don’t know if I’m activated it by playing with this button, or with a shortcut, or it’s activated by default ?
In my case, using this button was not releasing the simulation.

If you want desactivate touch event simulation :

Go to about:config and modify dom.w3c_touch_events.expose.
More info :
developer.mozilla.org/en-US/docs/Web/Guide/Events/Touch_events#Gecko_notes.

Offline

#4 2014-03-16 13:23:23

uli
Moderator
From: Cologne
Registered: 2006-08-15
Posts: 4,306

Re: [Back-end] Hive on FF 27 only with old-school dropdown navigation

sacripant wrote #279750:

Since FF 27 or 26, it is possible to simulate touch events.
When you display Responsive View, You have a new button for active or desactive touch event.
(Edited: Wrong quote)

That new feature was also my first idea for the failure candidate. But neither playing with it once more nor modifying the dom.w3c_touch_events.expose value did help, even across FF restarts. And, in the end, it needs an end-user friendly solution, so modifying the stylesheet will be the only way to help our clients.
Thanks anyway, for your help!

Last edited by uli (2014-03-16 13:33:45)


In bad weather I never leave home without wet_plugout, smd_where_used and adi_form_links

Offline

#5 2014-03-17 09:04:12

philwareham
Core designer
From: Haslemere, Surrey, UK
Registered: 2009-06-11
Posts: 3,564
Website GitHub Mastodon

Re: [Back-end] Hive on FF 27 only with old-school dropdown navigation

Not that this helps you now, but the next Hive admin theme update (on 4.6dev) will have a completely different navigation method for small devices. Doesn’t use touch tests either. Should be in next weekend sometime.

Offline

Board footer

Powered by FluxBB