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 not working on google map when using scrollOverflow #3569

Closed
shahjehanali1 opened this issue Feb 8, 2019 · 4 comments
Closed

drag not working on google map when using scrollOverflow #3569

shahjehanali1 opened this issue Feb 8, 2019 · 4 comments
Labels

Comments

@shahjehanali1
Copy link

not b able to drag google map when scrollOverflow: true, also iScroll don't have anwser of this bug
Check this iScroll #1238

@alvarotrigo
Copy link
Owner

That's a iScroll issue. If it is not solved there, there's nothing we can do in fullpage.js about it.
I would encourage you not to use scrollOverflow:true.

@alvarotrigo alvarotrigo changed the title drag not working on google map drag not working on google map when using scrollOverflow Feb 8, 2019
@david43
Copy link

david43 commented Feb 12, 2019

You can lock fullpage when dragstart.

map.addListener('dragstart', function() {
	vm.fullpage.setAllowScrolling(false);
});
map.addListener('dragend', function() {
	vm.fullpage.setAllowScrolling(true);
});

@alvarotrigo
Copy link
Owner

@david43 awesome to know!

@syakirurahman
Copy link

syakirurahman commented Dec 21, 2020

Just trying to help. Adding normalScrollElements option as follows solves the problem.

normalScrollElements: '.vue-map-container'

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

No branches or pull requests

4 participants