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

Mobile prevent scroll #547

Merged
merged 1 commit into from
Jan 25, 2016
Merged

Conversation

pgiraud
Copy link
Contributor

@pgiraud pgiraud commented Jan 22, 2016

Also closes side navigation when swiping the map.

@pgiraud
Copy link
Contributor Author

pgiraud commented Jan 22, 2016

I have a problem that I don't understand for now. The ngTouch directives don't seem to be taken into account in the hosted examples.

@pgiraud
Copy link
Contributor Author

pgiraud commented Jan 25, 2016

Fixes #399.

@sbrunner
Copy link
Member

Looks good :-)

@pgiraud
Copy link
Contributor Author

pgiraud commented Jan 25, 2016

Any idea about why ngTouch directives are not taken into account in built mode?

@sbrunner
Copy link
Member

missing goog.require('ngTouch');?

@@ -15,4 +15,4 @@ goog.require('gmf');
/**
* @type {!angular.Module}
*/
var appModule = angular.module('app', [gmfModule.name]);
var appModule = angular.module('app', [gmfModule.name, 'ngTouch']);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What does it mean?

@pgiraud
Copy link
Contributor Author

pgiraud commented Jan 25, 2016

I prefer leaving the swipe gesture besides for now.
I'll open a new issue for that.

pgiraud pushed a commit that referenced this pull request Jan 25, 2016
@pgiraud pgiraud merged commit 3cdcbae into camptocamp:master Jan 25, 2016
@pgiraud pgiraud deleted the mobile_prevent_scroll branch January 25, 2016 12:47
@sbrunner sbrunner added this to the Older milestone Aug 23, 2019
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

Successfully merging this pull request may close these issues.

2 participants