|
@@ -54,6 +54,10 @@ export async function parseMessageForCommands (chat, text) {
|
|
}
|
|
}
|
|
|
|
|
|
export function resetElementHeight (ev) {
|
|
export function resetElementHeight (ev) {
|
|
|
|
+ if (window.CSS?.supports('field-sizing', 'content')) {
|
|
|
|
+ return;
|
|
|
|
+ }
|
|
|
|
+
|
|
if (ev.target.value) {
|
|
if (ev.target.value) {
|
|
const height = ev.target.scrollHeight + 'px';
|
|
const height = ev.target.scrollHeight + 'px';
|
|
if (ev.target.style.height != height) {
|
|
if (ev.target.style.height != height) {
|