Why would this be happening?
it could be that the code component is not forwarding the className to its elements, for example:
function Drawer({className}) {
// ...
return (
<div className={className}>
{ /* ... */ }
</div>
);
}
it could be missing the <div className={className}>
part
LMK if it helps!
Ok I see.
It is definitely forwarding it, but it’s not the classname of the root element of the component
There’s a container div
, and className
targets the content div
that’s an immediate child
that’s a bug! we should be able to identify it
it should be fixed now!