Modernizr: Firefox desktop returns touchevents "true"

Created on 26 Oct 2015  路  4Comments  路  Source: Modernizr/Modernizr

touchevents.js#L40 "ontouchstart" in window always returns true on Firefox desktop since version 27, on Chrome 46 desktop Emulate touch screen will respond correctly after Tab refresh.

Firefox issue #970346 https://bugzilla.mozilla.org/show_bug.cgi?id=970346
Chrome issue #152149 https://code.google.com/p/chromium/issues/detail?id=152149

Most helpful comment

@patrickkettner where did you see this was fixed? I'm still seeing the issue in latest FF 48. It seems if you've ever used the responsive design view it may corrupt a related preference.

screen shot 2016-08-02 at 11 06 09 pm

All 4 comments

Update: It doesn't happen to all users. Mozilla argues that happens if user earlier used Developer Tools > Responsive mode.

I can't reproduce this issue after Firefox and its settings total removal and fresh Firefox install.

this was recently fixed in desktop firefox, sorry for leaving this open for such a long time without a response :[

@patrickkettner where did you see this was fixed? I'm still seeing the issue in latest FF 48. It seems if you've ever used the responsive design view it may corrupt a related preference.

screen shot 2016-08-02 at 11 06 09 pm

Still returns true for me no matter what in Firefox 52.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

bartverdonck picture bartverdonck  路  5Comments

aaarichter picture aaarichter  路  6Comments

chrisbell08 picture chrisbell08  路  6Comments

YounesKeraressi picture YounesKeraressi  路  8Comments

acschwartz picture acschwartz  路  6Comments