Skip to content

Commit

Permalink
fix: workaround disabled textarea freezing Firefox (#2981)
Browse files Browse the repository at this point in the history
  • Loading branch information
tomivirkki committed Nov 5, 2021
1 parent 3f8006a commit 2c6c89c
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions packages/vaadin-text-field/src/vaadin-text-area.js
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,11 @@ class TextAreaElement extends ElementMixin(TextFieldMixin(ControlStateMixin(Them
:host {
animation: 1ms vaadin-text-area-appear;
}
/* Workaround https://bugzilla.mozilla.org/show_bug.cgi?id=1739079 */
:host([disabled]) [part='value'] {
user-select: none;
}
</style>
<div class="vaadin-text-area-container">
Expand Down

0 comments on commit 2c6c89c

Please sign in to comment.