You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I try to use a SolidJs signal with my titlebar to make the controls hidden and not hidden. However, when I update the signal the taskbar doesn't update.
Here's some insight into what's happening. When you pass { "hide": gethide() } to a prop, you are not passing an object with reactive properties. Instead, Solid.JS will reconstruct the entire { hide: boolean } object any time getHide changes, and pass this to WindowTitlebar. This should work, but due to a bug in WindowTitlebar, it doesn't. It's also potentially less efficient.
I try to use a SolidJs signal with my titlebar to make the controls hidden and not hidden. However, when I update the signal the taskbar doesn't update.
Code:
<WindowTitlebar class={'titlebar'} windowControlsProps={{"hide":getHide()}}></WindowTitlebar>
The text was updated successfully, but these errors were encountered: