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

Chrome Android, Code Demo: Play button fires twice. #2187

Open
AnmAtAnm opened this issue Dec 19, 2018 · 1 comment
Open

Chrome Android, Code Demo: Play button fires twice. #2187

AnmAtAnm opened this issue Dec 19, 2018 · 1 comment

Comments

@AnmAtAnm
Copy link
Contributor

AnmAtAnm commented Dec 19, 2018

Problem statement

Play button fires twice in Android Chrome.
That is, if your workspace contains exactly one print block, and you hit play, you will get two alerts.

As this code has not been touched in a long time, this is likely a change on the Chrome side. Seen in 71.0.3578.99 (Official Build) on a Pixel 2XL.

Operating System and Browser

  • Android Pixel 2XL:
    • OS: Android 9
    • Browser: Chrome
    • Version 71.0.3578.99

Additional Information

Given #2188 is also related to Android Chrome, is also touch related, and is also seen in master.

@MatataLab
Copy link

//find these lines in 'code.js'
//hope to help

Code.bindClick = function(el, func) {
if (typeof el == 'string') {
el = document.getElementById(el);
}
el.addEventListener('click', func, true);
//el.addEventListener('touchend', func, true);
//2018.12.25 20:08:52 changed by GtyFour
};

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants