Skip to content

Commit a82c492

Browse files
committed
fix(overlayable): add check for contenteditable
was blocking use of contenteditable fixes #4715
1 parent 109c835 commit a82c492

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

src/mixins/overlayable.js

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,11 @@ export default {
9494
*/
9595
scrollListener (e) {
9696
if (e.type === 'keydown') {
97-
if (['INPUT', 'TEXTAREA', 'SELECT'].includes(e.target.tagName)) return
97+
if (
98+
['INPUT', 'TEXTAREA', 'SELECT'].includes(e.target.tagName) ||
99+
// https://github.com/vuetifyjs/vuetify/issues/4715
100+
e.target.isContentEditable
101+
) return
98102

99103
const up = [keyCodes.up, keyCodes.pageup]
100104
const down = [keyCodes.down, keyCodes.pagedown]

0 commit comments

Comments
 (0)