-
-
Notifications
You must be signed in to change notification settings - Fork 36
Open
Description
This is happening in a real project for me. I stripped it down to demonstrate a minimal example: https://github.com/vezaynk/dnd-vite-issue-demo
Description:
React-dnd with multiple back-ends does not function when a production build is made, but does work in dev builds.
Errors, logs, etc
The application renders and is otherwise interactive (aside from the issue described here). There are no errors/warnings/etc in the console.
Platforms affected:
I have limited devices to test on. I have only tested and had this happen on iOS.
Reproduction steps:
- Install dependencies:
npm i
- Run dev build
npm run dev -- --host
- Run production build
npm run build && npm run preview -- --host
- Access both pages on a mobile devices (iOS safari)
Expected Results
Dragging the "Hello World!" text should generate a preview on both pages.
Actual Results
Dragging the "Hello World!" text only works on the page running from npm run dev
.
Metadata
Metadata
Assignees
Labels
No labels