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

Preventing panning when dragging certain descendent elements. #97

Open
Nfinished opened this issue May 10, 2021 · 2 comments
Open

Preventing panning when dragging certain descendent elements. #97

Nfinished opened this issue May 10, 2021 · 2 comments

Comments

@Nfinished
Copy link

Hi, I've got a drag and drop field inside of my <MapInteractionCSS /> component. Is it possible to prevent panning when mousedowning on draggable elements? stopPropagation on mouseDown doesn't seem to be doing the trick. The docs hint that this is possible but I'm not sure what I'm missing. Thanks.

@oldbettie
Copy link

did u find a solution it seems to be a popular question with no answer

@DjCrqss
Copy link

DjCrqss commented Aug 17, 2023

Still cannot figure this out

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

3 participants