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

side menu doesn't work properly #35

Closed
narsenico opened this issue Nov 2, 2014 · 2 comments
Closed

side menu doesn't work properly #35

narsenico opened this issue Nov 2, 2014 · 2 comments
Assignees
Labels
Milestone

Comments

@narsenico
Copy link
Owner

change layout?
remove side menu and use footer btns instead?

@narsenico narsenico self-assigned this Nov 2, 2014
@narsenico narsenico added this to the 1.0.0 milestone Nov 2, 2014
@narsenico
Copy link
Owner Author

seems to be a ionic bug
ionic-team/ionic-framework#2674

@narsenico
Copy link
Owner Author

try this

angular
.module('ionictestmodule')
.directive('fixAndroidTouch', [
'$rootScope', '$ionicPlatform',
function(rootScope, ionicPlatform) {
return {
link: function() {
ionicPlatform.ready().then(function() {
if (ionic.Platform.isAndroid()) {
var documentOnTouchMoveFix = function (event) {
event.preventDefault();
};

                        document.ontouchmove = documentOnTouchMoveFix;

                        rootScope.$on('$ionicView.afterEnter', function () {
                            document.ontouchmove = documentOnTouchMoveFix;
                        });
                    }
                });
            }
        };
    }
]);

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

1 participant