<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
  </head>
  <body bgcolor="#ffffff" text="#000000">
    On 6/19/2021 6:13 PM, Hilaire Fernandes via Cuis-dev wrote:
    <blockquote cite="mid:6cde692c-f898-d812-c179-7bbcf52cdde7@drgeo.eu"
      type="cite">
      <meta http-equiv="content-type" content="text/html; charset=UTF-8">
      <p><font size="+1">Hi, <br>
        </font></p>
      <p><font size="+1">I noted when a popup menu is opened over a
          browser pane, when the user click away from the menu to close
          it without selecting any menu item, the keyboard focus does
          not get back to the browser pane. Then if you scroll with the
          mouse wheel, it does not work. It is annoying in DrGeo too.<br>
        </font></p>
      <p>I made this small change set to fix it. The focus is restored
        only when a menu is closed without action, not when deleted
        which may cause trouble if the user choice opens a dialog with
        kbd focus.</p>
      <p>Best</p>
      <p>Hilaire<br>
      </p>
      <pre class="moz-signature" cols="72">-- 
GNU Dr. Geo
<a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://drgeo.eu">http://drgeo.eu</a>
<a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://blog.drgeo.eu">http://blog.drgeo.eu</a></pre>
    </blockquote>
    <br>
    Oh, yes! Thanks! Now @ GitHub. I also added another change to
    restore focus when menu exit using the 'esc' key.<br>
    <br>
    Cheers,<br>
    <pre class="moz-signature" cols="72">-- 
Juan Vuletich
<a class="moz-txt-link-abbreviated" href="http://www.cuis-smalltalk.org">www.cuis-smalltalk.org</a>
<a class="moz-txt-link-freetext" href="https://github.com/Cuis-Smalltalk/Cuis-Smalltalk-Dev">https://github.com/Cuis-Smalltalk/Cuis-Smalltalk-Dev</a>
<a class="moz-txt-link-freetext" href="https://github.com/jvuletich">https://github.com/jvuletich</a>
<a class="moz-txt-link-freetext" href="https://www.linkedin.com/in/juan-vuletich-75611b3">https://www.linkedin.com/in/juan-vuletich-75611b3</a>
@JuanVuletich</pre>
  </body>
</html>