Window Event Handlers not working #13711
Unanswered
vibsid0986
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello Team,
We have created a React App which is working fine in browser as a standalone application, however when we integrated same as a react widget within Theia application, there is one major issue which we are facing as certain event handlers on window are not working inside that react widget, one such is mentioned below.
window.addEventListener("dragEnter",() =>{console.log("HELLO")})
For your reference, please find attached screen recording of the application.
window.dragEvent
is working fine in the file explorer view as you can see in the console logs, however the same is not working when we are inside react widget view.Request you to provide guidance on how we can achieve this task.
Thanks in advance.
Recording.2024-05-14.191811.mp4
Beta Was this translation helpful? Give feedback.
All reactions