fixes single-line inputs and textboxes squished when saving
This commit is contained in:
parent
e3f4b554c7
commit
21cdf49322
|
@ -100,7 +100,7 @@ export async function loadInstructMode(data) {
|
|||
|
||||
$element.on('input', async function () {
|
||||
power_user.instruct[control.property] = control.isCheckbox ? !!$(this).prop('checked') : $(this).val();
|
||||
if (!CSS.supports('field-sizing', 'content')) {
|
||||
if (!CSS.supports('field-sizing', 'content') && $(this).is('textarea')) {
|
||||
await resetScrollHeight($(this));
|
||||
}
|
||||
saveSettingsDebounced();
|
||||
|
|
Loading…
Reference in New Issue