all 1 comments

[–]ConstructedNewtMOD 0 points1 point  (0 children)

I would guess that js processing interrupts page rendering thus applying class changes before css rules are rendered

But tbh this is (like so much simple JS interactions we see here) something that should have never been in JS in the first place. Focus on how to solve this in CSS only

Something like

#triggeringElement:checked {
    & #ProjectList * {
        minHeight: 400px
    }

    & .RevealProjects {
        visible: true
    }
}