measuredco / puck

The visual editor for React
https://puckeditor.com
MIT License
4.81k stars 244 forks source link

Dropzones don't work when using vite-plugin-react-swc #423

Open mkilpatrick opened 3 months ago

mkilpatrick commented 3 months ago

The dropzones for the Puck editor don't work with the Vite dev server (at least in SSR mode) when using vite-plugin-react-swc. It does however work fine with vite-plugin-react.

chrisvxd commented 2 months ago

Thanks for the report @mkilpatrick. This will likely get squashed with #255.

DieTapete commented 2 months ago

Is there an ETA on this or any idea why this doesn't work?

DieTapete commented 1 month ago

FYI: when using the vite templates the index.css file defined display: flex for the body. Removing this makes it work again.