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
Might be sensible to have this logic right inside w2ui, it's a longstanding standard behavior across OSes: hitting ESC closes any open menu.
Right now, I have this helper in my app:
mySideBar.on('keydown',(evt)=>{if(evt?.detail?.originalEvent?.keyCode==27)w2tooltip.hide()// nevermind tooltips, it's really for closing the open context menu, if any})
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
-
Might be sensible to have this logic right inside w2ui, it's a longstanding standard behavior across OSes: hitting ESC closes any open menu.
Right now, I have this helper in my app:
Beta Was this translation helpful? Give feedback.
All reactions