I have an interesting problem.
So, I have an EyeTracker sensor, this EyeTracker has a browser extension that create some event listener: userpresent and gazeenter UserPresent when the user is in front of EyeTracker and gazeenter when the user have the gaze on specific item ( a button for example )
I need to add some eventlisteners so I inject the next code in useEffect, I tried also in index.html in area document.addEventListener("userpresent",()=>console.log("userpresent")); document.addEventListener("gazeenter",(e)=>console.log("event", e));
in SAPUi5 framework this work perfectly, but in React my gazeenter event is not triggered, some ideas? Thank you.