Merge pull request #7147 from mrheinen/master

DataTable : Allow ctrl-c during selection mode (port from Vue 3 PR)
pull/7160/head
Tuğçe Küçükoğlu 2025-01-28 11:28:18 +03:00 committed by GitHub
commit baf52b0066
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 1 deletions

View File

@ -919,7 +919,8 @@ export default {
this.$emit('update:selection', data);
}
event.preventDefault();
const isCopyShortcut = event.code === 'KeyC' && metaKey;
if (!isCopyShortcut) event.preventDefault();
break;
}