Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

drag-enter event is emitted only once #80

Open
frankykubo opened this issue Mar 21, 2023 · 0 comments
Open

drag-enter event is emitted only once #80

frankykubo opened this issue Mar 21, 2023 · 0 comments

Comments

@frankykubo
Copy link

I have some basic container:

<Container
	group-name="1"
	:get-child-payload="getChildPayloadIphoneComponents"
	class="hide-scrollbar flex-1 w-full overflow-x-hidden overflow-y-scroll"
	@drop="onDrop($event)"
	@drop-ready="onDragEnter"
	@drag-leave="onDragLeave"
>
	<Draggable v-for="(item, idx) in appComponents" :key="idx" class="w-full overflow-hidden h-1/2 mb-2">
	        <div class="bg-red-600 h-full">
			ITEM {{ item }}
		</div>
	</Draggable>
</Container>

and then second one with behaviour='copy'.

The drop-ready event is emitted, when I hover with ghost element for the first time over specified container. After I move element outside the container and then try to move it again inside (without letting it), the event drop-ready is not emitted.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant