Modernizr: css-hyphens focus event trigger keyboard, Firefox for Android

Created on 4 Oct 2013  Â·  16Comments  Â·  Source: Modernizr/Modernizr

css-hyphens.js line 163 dummy.focus();

https://github.com/Modernizr/Modernizr/blob/master/feature-detects/css/hyphens.js#L163

Triggers keyboard in Firefox for Android.

Most helpful comment

I just saw lebowskilebowski recently ff 63 on https://ceac.state.gov/.

All 16 comments

Hmm, I just tried firefox 24 on android 4.3, using this link, which is the test thats live on the site's generator, and wasn't able to replicate the bug - could you go into a bit more detail about version numbers? It would be great to see a jsfiddle/bin/codepen or something, too

thanks!

Android 4.3
Firefox stable 24.0 and Firefox Nightly 27.0a1

Modernizr 2.6.2
http://jsbin.com/UPEfUje

Modernizr latest HEAD (your build from Codepen)
http://jsbin.com/AMuSogO

Reproducable in both case.

  • Keyboard triggered.
  • The dummy input field with "lebowski" testword is visible on the page.

@pascalduez +1, I see the "lebowski" input field on the page.

+1. Still a problem on Firefox 37.0.2, Android 5.1, Modernizr 2.8.3. Keyboard triggered and see "lebowski" written twice.

+1 Firefox 41 on Android Lolipop Modernizer 3.0.0 The input field is visible and lebowskilebowski bellow it. Keyboard get triggered by default as its the first element on the page.

See also: #1438

This bug is being around for two years and it keeps happening consistently. No updates on this yet?

PRs are welcomed

On Oct 26, 2015, at 11:09 PM, Mário Areias [email protected] wrote:

This bug is being around for two years and it keeps happening consistently. No updates on this yet?

—
Reply to this email directly or view it on GitHub.

Working on it. It is a shame nobody has fixed yet :(

Actually @patrickkettner there is a PR already

https://github.com/Modernizr/Modernizr/pull/1514

Does that fix the issue? Its commit is older than 6 months (even though the PR itself is pretty recent), but I believe it is still valid since the code for this feature hasn't changed

Just merged it! Closed via #1514

Awesome! Thanks @ryanseddon . I am not familiar how the Modernizr is released :(. Do you know when this fix will be released then?

I just saw lebowskilebowski recently ff 63 on https://ceac.state.gov/.

For posterity (also shows up on the main page):
lebowski

Confirmed that this is a thing. I was thinking that it was a backdoor for admin or something... 🤔

@StormBlade97 what version of modernizr are you experiencing this with?

Was this page helpful?
0 / 5 - 0 ratings

Related issues

Markel picture Markel  Â·  8Comments

bartverdonck picture bartverdonck  Â·  5Comments

DervishD picture DervishD  Â·  8Comments

flying-sheep picture flying-sheep  Â·  6Comments

peterwilsoncc picture peterwilsoncc  Â·  9Comments