Facing an issue with the Antd Dropdown Component.
It’s rendering fine in Preview mode but taking full width in CodeGen. Also, I can’t hide the dropdown once it’s visible.
PFA
Packages Version
"@plasmicpkgs/antd": "^0.0.27",
"antd": "^4.19.2",
Facing an issue with the Antd Dropdown Component.
It’s rendering fine in Preview mode but taking full width in CodeGen. Also, I can’t hide the dropdown once it’s visible.
PFA
Packages Version
"@plasmicpkgs/antd": "^0.0.27",
"antd": "^4.19.2",
nvm, I forgot to add the import for antd styles. I thought it will be added by default considering the component store integration of antd.
Solution:
Add the following import in app.jsx
import "antd/dist/antd.css";