Textarea content disappears when textarea not completely visible (if it's longer than the plugin window)

Hi,

for my plugin I need to have big textarea item.
But as soon as the textarea is slightly bigger then the visible area (it’s just longer than the plugin window) it turns gray and the content is not visible. It seems like a rendering error (similar to the one that textarea is always on top and no modal can hide it).

Update:
Here is a video of the “textarea content disappearing” issue.

The green bordered thing is a sp-textarea. As soon as a part slides out of view at the bottom the content disappears. Happens with a regular textarea element too.

Is this a known bug? Someone has a workaround?

Thanks!

Hi Eugen,

at least there are no problems with InDesign and sp-textarea height:


Have you tried sp-textfield (Spectrum Web Components)?

Roland

This issue been there for about 4 years or so. I think it is related to the fact that inputs in PS are not part of HTML DOM but rendered above it. Same reason why infinite z-index issue exists.

1 Like

Another interesting thing with inputs: on macOS, you can make them transparent via CSS by setting background-color: transparent (or RGB with an alpha channel), but on Windows, this method won’t work. It’s about time we created a community knowledge base - there’s just too much to remember otherwise.