Fixed #3512 - DropdownMenu: Disabled dropdown can still be opened with screen reader

This commit is contained in:
mertsincan 2023-01-11 08:57:49 +00:00
parent c3c3edcde8
commit df3f1ca5a9
4 changed files with 49 additions and 0 deletions

View file

@ -278,6 +278,11 @@ export default {
}, 0); // For ScreenReaders
},
onFocus(event) {
if (this.disabled) {
// For ScreenReaders
return;
}
this.focused = true;
this.$emit('focus', event);
},