NO BUG: Error with Toggle Mode

Hello, after updating from Beta 2.2 to RC 2.2, toggle mode stopped displaying the .is-active class to the current span (color), so some styles I had applied to get a “toggle” are not working.

Here is a screenshot of how it looked in the beta version.

Hi @iFront,

as far as I see, everything is still working correctly, right? For that reason, I’m marking this topic as no-bug. Please let me know if that’s not the case.

On the HTML element, there is a data-brx-theme attribute that you can use to target correct toggle element.
html[data-brx-theme="dark"] .brxe-toggle-mode .toggle.light

Best regards,
Matej

Hi @Matej, Thank you for your reply. With that answer, I was able to solve the problem, although I did find it strange that the “is-active” class appears in the beta but not in the RC.

1 Like

Hi @iFront ,

Much of the logic in the beta version may change after collecting feedback.
It’s for better implementation purposes :slight_smile:

Regards,
Jenn

1 Like