Skip to content

Commit 9c675a7

Browse files
committed
Focus tray body when edit dialog opened
1 parent f9e09e8 commit 9c675a7

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

editor/js/ui/tray.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -155,6 +155,8 @@ RED.tray = (function() {
155155
// Delay resetting the flag, so we don't close prematurely
156156
openingTray = false;
157157
},200);
158+
body.find(":focusable:first").focus();
159+
158160
},150);
159161
el.css({right:0});
160162
},0);

0 commit comments

Comments
 (0)