You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
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.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
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