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
{{ message }}
Repository navigation
hyperfiddle.electric-dom2/props reverses class order #73
Thanks, we accept the bug. The root cause is that e/for mounts branches concurrently – they are racing. It is potentially straightforward to guarantee a mount ordering and we have been considering it.
In Semantic UI, class names are order-dependent so e.g. (dom/props {:class "ui right aligned"}) renders to DOM as "aligned right ui", so I have to reverse the order to get text alignment working.
Activity
dustingetz commentedon Aug 24, 2024
Is it damaging something?
milelo commentedon Aug 25, 2024
Potentially. If two classes have a conflicting style property for example color, the latter one takes precedence.
dustingetz commentedon Aug 26, 2024
Thanks, we accept the bug. The root cause is that
e/formounts branches concurrently – they are racing. It is potentially straightforward to guarantee a mount ordering and we have been considering it.theronic commentedon Dec 5, 2024
In Semantic UI, class names are order-dependent so e.g.
(dom/props {:class "ui right aligned"})renders to DOM as"aligned right ui", so I have to reverse the order to get text alignment working.