[Cuis-dev] Usability with menu and focus

Juan Vuletich juan at jvuletich.org
Fri Jun 25 06:15:22 PDT 2021


On 6/19/2021 6:13 PM, Hilaire Fernandes via Cuis-dev wrote:
>
> Hi,
>
> 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.
>
> 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.
>
> Best
>
> Hilaire
>
> -- 
> GNU Dr. Geo
> http://drgeo.eu
> http://blog.drgeo.eu

Oh, yes! Thanks! Now @ GitHub. I also added another change to restore 
focus when menu exit using the 'esc' key.

Cheers,

-- 
Juan Vuletich
www.cuis-smalltalk.org
https://github.com/Cuis-Smalltalk/Cuis-Smalltalk-Dev
https://github.com/jvuletich
https://www.linkedin.com/in/juan-vuletich-75611b3
@JuanVuletich

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.cuis.st/mailman/archives/cuis-dev/attachments/20210625/a23d954a/attachment.htm>


More information about the Cuis-dev mailing list