We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
The variants ui-expanded of Kobalte ContextMenu.Sub will follow the ui-expanded of ContextMenu, rather than being independent of each other.
ui-expanded
ContextMenu.Sub
ContextMenu
I tried to modify the plugin like this, which can fix this problem, but I don't know if this will affect other parts.
function presetVariants(options: PrimitivesOptions = {}): Variant { ... return { matcher: matcher.slice(match[0].length), - selector: (s: any) => (match[1] === '-not') - ? `${s}[${selector}]:not(${attrGen}),:where([${selector}]:not(${attrGen})) ${s}:not(${selector})` - : `${s}${attrGen},:where(${attrGen}) ${s}`, + selector: (s: any) => + match[1] === "-not" ? `${s}[${selector}]:not(${attrGen})` : `${s}${attrGen}`, }; }, }; }
The text was updated successfully, but these errors were encountered:
No branches or pull requests
The variants
ui-expanded
of KobalteContextMenu.Sub
will follow theui-expanded
ofContextMenu
, rather than being independent of each other.I tried to modify the plugin like this, which can fix this problem, but I don't know if this will affect other parts.
The text was updated successfully, but these errors were encountered: