How to toggle CSS with conditional #9863
-
I'm trying to implement a module very similar to the one shown here I have a list of items, and multiple items can be selected. However, when I add a conditional to a class prop, the CSS does not update, only after a page refresh. I managed to fix this issue by forcing a page refresh, but performance slowed waaaayyy down and I'm just wondering why is it that Image src prop can be updated without needing to refresh but not the class prop. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
If you could share a bit of your code, would help us understand what's going on. Class bindings should generally work in lists. |
Beta Was this translation helpful? Give feedback.
If you could share a bit of your code, would help us understand what's going on. Class bindings should generally work in lists.