Epko
TextArea with autosize resets to default size with Live event.
Before I report this as a bug, I'd like to know if this is expected behaviour.
I have a very simple form (just to reproduce the problem):
When the form loads, the Textarea is autosized perfectly, containing the needed lines of text (for example 10). But as soon as the live event is triggered (by leaving the Textarea) the Textarea is reset to the default 2 rows. So the autosize setting is not respected anymore. If I then try to resize the browser window, the autosize setting is immediately applied again.
It does not matter if I set rows or not (not setting is the same as rows(1)) and it does not matter if I use a different live() setting.
As said, before I issue a bug report, I'd like to know if this is expected behaviour, and maybe there is a quick fix. It does sound a bit like https://github.com/filamentphp/filament/issues/7620 but it is not the same.
1 replies