Skip to content

fix ribbon cause scroll not working#1640

Merged
ivan-nginx merged 1 commit intoiissnan:masterfrom
dolphinlin:ribbon-fix
Apr 30, 2017
Merged

fix ribbon cause scroll not working#1640
ivan-nginx merged 1 commit intoiissnan:masterfrom
dolphinlin:ribbon-fix

Conversation

@dolphinlin
Copy link
Copy Markdown
Contributor

the code cause an exception.

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

see that > JS MDN

@ivan-nginx
Copy link
Copy Markdown
Collaborator

This is fix? All worked fine?

@dolphinlin
Copy link
Copy Markdown
Contributor Author

yeap!
remove the code from there, it works

@ivan-nginx
Copy link
Copy Markdown
Collaborator

Ok, well done! And thanks!

@dolphinlin
Copy link
Copy Markdown
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