sunpietro
sunpietro
Is there a way to understand what piece of code is throwing that particular error? Stack: NodeJS v16.13.1 jest 26.6.0
@HectorLS I'll try to reproduce the issue you mentioned and I'll get back to you ASAP.
@HectorLS if I understood your problem, you're trying to detect whether an element can be dropped inside the `onBeforeDragEnd` callback function. Maybe you should do such detection in the `onBeforeDragMove`...
@HectorLS have you tried doing this: ``` if (slotIsOccupied && !slotIsNotAvailable) { // REPLACE ELEMENT return true; } else if (!slotIsOccupied && slotIsNotAvailable) { // AVOID THE DROP ACTION return...
I'm not sure why. I'll try to find some time for debugging this issue. I haven't met that behaviour before.
@lubomirmolin thanks for letting me know. I'll check that.
I confirm. It's still an issue with CRA v5.0.0
@ryanehrler awesome. I'll check that
I confirm the issue exists in Cypress 7.4.0 when running in headless mode with `cypress run --headless --record false` command
I'm also having this issue when the `onSubmit` callback is async and finally redirecting a user with `window.location.href` thing.