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:
John Livingston
2024-04-03 16:53:01 +02:00
parent 543f18c727
commit 1ceb37da2c
3 changed files with 10 additions and 5 deletions

View File

@ -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;
}
}