Skip to content

Commit 19fa3ef

Browse files
committed
Merge branch 'baserow-3717-close-dropdown-using-tab-on-collaborators' into 'develop'
Baserow 3717 close dropdown using tab on collaborators Closes baserow#3717 See merge request baserow/baserow!3793
2 parents b63ae60 + af7b92e commit 19fa3ef

File tree

2 files changed

+9
-7
lines changed

2 files changed

+9
-7
lines changed
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
{
2+
"type": "bug",
3+
"message": "Close the dropdown when using the tab key to move out from the collaborators field",
4+
"domain": "core",
5+
"issue_number": 3717,
6+
"bullet_points": [],
7+
"created_at": "2025-10-14"
8+
}

web-frontend/modules/core/mixins/dropdown.js

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -252,13 +252,7 @@ export default {
252252
// child of this one. This will make sure the `show` and `hide` will not be
253253
// called multiple times when the search of being focussed on immediately
254254
// after opening.
255-
if (
256-
event.relatedTarget &&
257-
!isElement(this.$el, event.relatedTarget) &&
258-
// no need to hide the dropdown if it loses focus if the input is not visible
259-
// because you can't tab to the next item anyway.
260-
this.showInput
261-
) {
255+
if (event.relatedTarget && !isElement(this.$el, event.relatedTarget)) {
262256
this.hide()
263257
}
264258
},

0 commit comments

Comments
 (0)