bakaotaku
How to reactively set height of a element?
The issue is that initially when the component mounts it works as expected, but when the component unounts and comes back the resizing logic doesn't work. As you can see in the component I have a console.log, it gives the expected value on first mount but 0 on remount....
for the mount and unmount thing I'm using Switch component which tracks a signal.
6 replies