Skip to content

Commit 6d63183

Browse files
author
Jim O'Halloran
committed
When focussing a selectable item, select the existing content
1 parent 20eb97e commit 6d63183

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/Oro/Bundle/UIBundle/Resources/public/js/app/modules/ignore-tabbable.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,9 @@ $(document).on('keydown', function(event) {
2626

2727
if (nextTabbable) {
2828
$(nextTabbable).focus();
29+
if (typeof nextTabbable.select !== 'undefined') {
30+
nextTabbable.select();
31+
}
2932
event.preventDefault();
3033
}
3134
});

0 commit comments

Comments
 (0)