Resizable text area object

I'm trying to figure out how to set the size for a text area object with position: basic:auto and resize: vertical so that when the view opens, the entire placeholder text is visible.

Right now, the placeholder gets cut off unless I manually adjust the size. Is there a way to make it automatically fit the full placeholder text on load?

The flex above is also set to auto.

Any suggestions on how to fix this?

There exists this experimental style css proptery field-sizing: content

Combine it with min-width max-height ect.

However it does not work on every browser (no firefox) and probably will not work in the designer itself. (or the app(?)) So test in a browser

field-sizing: content;

https://caniuse.com/?search=field-sizing

1 Like

Oh, nice! This looks promising, but I'm not sure if I want to integrate an experimental feature into my project. :laughing:

i mean its just for a small visual convience, so shouldnt be to bad.

The only other option is Js injection which is probabyly a lot more questionable than this xD

1 Like