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

prettyPhoto doesn't work on mobile device #168

Open
xiaoyudi8866 opened this issue Dec 15, 2016 · 2 comments
Open

prettyPhoto doesn't work on mobile device #168

xiaoyudi8866 opened this issue Dec 15, 2016 · 2 comments

Comments

@xiaoyudi8866
Copy link

I write prettyPhoto in angularjs. It works fine on my PC, but there is no pop-up when I open that in the browser on my mobile device(iPhone). I tried chrome on iPhone or safari, both of them do not work. How can I fix this problem.

@mitkovalkov
Copy link

I have the same issue.

@csebranek
Copy link

Yay for two years later. Here's the fix that did it for me. Assign these two css rules to the parent container.

  .pp_content {
    -webkit-overflow-scrolling:touch !important;
    overflow: scroll !important;
  }

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