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

fix ribbon cause scroll not working #1640

Merged
merged 1 commit into from
Apr 30, 2017
Merged

Conversation

dolphinlin
Copy link
Contributor

the code cause an exception.

  document.addEventListener("touchmove", function(e) {
    e.preventDefault()
  });

see that > JS MDN

@ivan-nginx
Copy link
Collaborator

This is fix? All worked fine?

@dolphinlin
Copy link
Contributor Author

yeap!
remove the code from there, it works

@ivan-nginx
Copy link
Collaborator

Ok, well done! And thanks!

@dolphinlin
Copy link
Contributor Author

i improved the performance.
i think the code that avoid redrawing background when touch screen to click or move.
click -> do to.
move -> don't to do.

so i add some judgment for improving performance

i need to PR?

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