Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(toggleswitch): ensure visual switch with Material theme #6769

Conversation

j0rgedev
Copy link
Contributor

Defect Fixes
Fixes #6735

Resolution

Cause
The issue occurred because the design token toggleswitch.gap was set to 0 without a unit, which caused inconsistencies when used in a calc() function within the inset-inline-start property.

Solution
Updated toggleswitch.gap from 0 to 0px

Copy link

vercel bot commented Nov 12, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

2 Skipped Deployments
Name Status Preview Updated (UTC)
primevue ⬜️ Ignored (Inspect) Visit Preview Nov 12, 2024 9:31pm
primevue-v3 ⬜️ Ignored (Inspect) Visit Preview Nov 12, 2024 9:31pm

@tugcekucukoglu tugcekucukoglu merged commit dcc5d41 into primefaces:master Nov 13, 2024
3 checks passed
@j0rgedev j0rgedev deleted the 6735-material-theme-toggleswitch-bug branch November 13, 2024 12:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

ToggleSwitch: does not switch visually when selecting Material theme
2 participants