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
Currently, SwitchRoot has two root elements. Only one is visible though and input is there just purely for form functionality.
This makes it impossible for SwitchRoot to receive scoped styles, while I don't think there is any reason why input should be on top level instead of in Primitive?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Currently, SwitchRoot has two root elements. Only one is visible though and
input
is there just purely for form functionality.This makes it impossible for SwitchRoot to receive scoped styles, while I don't think there is any reason why input should be on top level instead of in Primitive?
https://github.com/radix-vue/radix-vue/blob/b5c16d2b994789f5e265cfb13d08742ea4500564/packages/radix-vue/src/Switch/SwitchRoot.vue#L103
Is there actually a reason for this, or could this be adjusted? @zernonia
Beta Was this translation helpful? Give feedback.
All reactions