pixi-ui icon indicating copy to clipboard operation
pixi-ui copied to clipboard

Currently I can't get text input working in Edge or Firefox

Open jl9937 opened this issue 7 years ago • 3 comments

It works on Chrome but in Firefox and Edge pressing keys does not result in input.

It looks to me like the addEventListener for the temp input is being added correct on 3985 of pixi-ui.js But that the associated inputEvent never fires.

I think it's possibly because the this.blur function which removes event listeners is called directly after they've been set up.

Maybe blur is being called in the wrong place?

jl9937 avatar Jul 28 '17 15:07 jl9937

sorry for the late response.

Soon I'll rewrite the text input completely, so it uses DynamicText (I visit features as I need them for my current project)

Ill make sure it will work properly in all browsers

bQvle avatar Oct 14 '17 00:10 bQvle

Oh that's ok! I got a fix for it in the end, though not an elegant one, so I won't share it. I look forward to your rewrite, since I get a lot of use out of PIXI UI.

Thanks and good luck

jl9937 avatar Oct 14 '17 10:10 jl9937

@jl9937 Is pixi-ui/puxi.js still of interest to you?

ShukantPal avatar Mar 20 '20 22:03 ShukantPal