Fix slow mode:
focus was lost when textarea got disabled, so it could trigger some Peertube events if the user type some text.
This commit is contained in:
@ -123,3 +123,10 @@ body.converse-embedded {
|
||||
margin-bottom: 6px;
|
||||
}
|
||||
}
|
||||
|
||||
.conversejs {
|
||||
// Fix: for the slow mode, we use readonly instead of disabled, we must apply same CSS as ConverseJS.
|
||||
textarea:read-only {
|
||||
background-color: var(--chat-textarea-disabled-bg-color) !important;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user