fix dropdowns in Firefox

This commit is contained in:
Alex Turchyn authored and Pete Matsyburka committed 2025-01-14 01:57:20 +02:00
1 parent 5a96f4f1eb
commit c696890cf5
4 files changed
+4 -4

No files matched your search

+1 -1
View File
@@ -479,7 +479,7 @@ export default {
methods: {
buildDefaultName: Field.methods.buildDefaultName,
closeDropdown () {
document.activeElement.blur()
this.$el.getRootNode().activeElement.blur()
},
maybeToggleDefaultValue () {
if (['text', 'number'].includes(this.field.type)) {