Jump to content

Someone steals focus from hidden input in chrome


Insi
 Share

Recommended Posts

I have pixijs webgl app with some inputs.
I have an input which uses native html input which placed out of scene and dispatches some events to my input and so on (like old pixi.input project)
Yesterday I've update pixijs from 4.3.5 to 4.4.1, and input has broken.

When hidden input is focused and I've move mouse (like usual  text selection) native unfocus event has been emmited on my hidden input without stack trace (by browser as I think).
Keydown events also doesn't work on hidden input (maybe it previously unfocused by mouse up or mouseclick event after it has been focused).

Pixi 4.4.1

Chrome - bug
Mobile chrome - bug
Mozilla - ok
Desktop Chrome with mobile emulation - looks OK, but didn't test it enough

Downgrade to Pixi 4.3.5 - all browsers works OK

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...