Hi,
I’ve recently encountered an unexpected behavior with the textarea component in my app. Upon starting the app, the textarea is already expanded to its full size, even though I haven’t typed anything into it. The component appears empty, but it’s expanded as if there’s content inside.
- No Recent Changes: I haven’t made any recent changes to the code or configuration of the app that could have triggered this behavior. This just started an hour ago or so.
- Persistent Across Versions: I’ve checked previous versions of the app, and this issue seems to be present in all of them.
- No Initial Value: I’ve ensured that the textarea doesn’t have any initial value set, including spaces, newlines, or other invisible characters.
- CSS/Styling: I’ve reviewed any custom CSS and styles applied to the app and the textarea component, but found nothing that could cause this.
- Backspace Fix: When I click on the textarea and press the backspace key, the component seems to correct itself and return to its expected size.
Is anyone else experiencing this issue?
edit: I’ve found that programmatically setting self.textarea.text = ""
or toggling the visibility of the textarea with self.textarea.visible = False
followed by self.textarea.visible = True
also corrects the issue.