title: I have a event handler and in React is not working, but in UI5 works perfect
body: <p>I have an interesting problem.</p>
  <p>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 )</p>
  <p>I need to add some eventlisteners so I inject the next code in useEffect, I tried also in index.html in  area
  document.addEventListener(&quot;userpresent&quot;,()=&gt;console.log(&quot;userpresent&quot;));
  document.addEventListener(&quot;gazeenter&quot;,(e)=&gt;console.log(&quot;event&quot;, e));</p>
  <p>in SAPUi5 framework this work perfectly, but in React my gazeenter event is not triggered, some ideas?
  Thank you.</p>