Sykje yn Support

Mij stipescams. Wy sille jo nea freegje in telefoannûmer te beljen, der in sms nei ta te stjoeren of persoanlike gegevens te dielen. Meld fertochte aktiviteit mei de opsje ‘Misbrûk melde’.

Learn More

CompositionEvent is not getting triggered for non input field

  • Gjin antwurden
  • 1 hat dit probleem
  • 31 werjeftes
more options

Dear All,

We are working on a project where the page will have a canvas element and page focus will be on canvas element and when users interact, all the key input will be captured using keydown and keyup event and will be sent to the server.

All the normal characters work but composition keys are not working. Even composition events are not getting fired. I tried below example

https://developer.mozilla.org/en-US/docs/Web/API/Element/compositionstart_event

Any help on this will be appreciated.

Thanks

Jo moatte jo oanmelde by jo account om op berjochten te antwurdzjen. Stel in nije fraach as jo noch gjin account hawwe.