S
SolidJS2y ago
ish

Signals inside Bootstrap Modal

I'm using Solid-Bootstrap and putting a tabs inside a modal, however, signals used inside the JSX in the modal don't get re-rendered when they are changed. If I move the signal outside of my modal content, I do see updating the signal causes re-render in parent components, just not the modal content. If I close and re-open the modal, its re-rendered with the updated values in the signals. Any ideas? Thanks!
6 Replies
Unknown User
Unknown User2y ago
Message Not Public
Sign In & Join Server To View
ish
ish2y ago
Its actually just this "Controlled" example from https://solid-libs.github.io/solid-bootstrap/components/tabs.. Works as is, wrap it in a <Modal> and it no longer works.
Unknown User
Unknown User2y ago
Message Not Public
Sign In & Join Server To View
Brendan
Brendan2y ago
Are you using version 1.0.13? There was a fix related to something similar last week. I just tested your scenario above with solid-bootstrap 1.0.13 and it seems to work fine with that latest version.
Brendan
Brendan2y ago
ish
ish2y ago
Updating solid-bootstrap to 1.0.13 fixed the issue. Thanks all. Thought I had just added it to my project but must have been more like 10 days ago.