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
InvalidPointerId on Android 6 #1086
Comments
Anyone can help me here? Bxslider is the only slider that works for me, so I'm a bit desperate. |
To prevent the error you could use this snippet.
Insert before LINE 1110: of this file: (no "official" bugfix, just a workaround for myself) Works for me in Chrome-Browser (v55 and v56, Mac). "onTouchStart" is triggered twice in this Browser-Version im mobile emulation, once with "PointerEvent"-Event, where the "pointerId" is missing, so the following code will fail at some point. |
Thanks for that. You saved me hours of pain! |
Not sure if it's worth updating the issue title to mention that this bug can be reproduced in Chrome using the mobile devices emulator. By trying various older versions it would appear it was introduced between version 4.2.1 and 4.2.3 (4.2.2 didn't appear to work at all for me). On a related note, I notice bxslider.com is running v4.1.2, would it be worth updating that to use the latest release if not too onerous? It took me a while to realise why the examples were working when mine didn't. Finally, I found it was only necessary to add the line to the onTouchStart function around line 1108 but so far I'm only testing in Chrome's mobile device emulator. Hope that's helpful. |
I have referred folowing URL & found the code which is not merged yet https://stackoverflow.com/questions/41723250/bxslider-error-invalidpointerid-on-android-6-0-1 stevenwanderski#1086 (comment)
I have referred folowing URL & found the code which is not merged yet https://stackoverflow.com/questions/41723250/bxslider-error-invalidpointerid-on-android-6-0-1 stevenwanderski#1086 (comment)
I have referred folowing URL & found the code which is not merged yet https://stackoverflow.com/questions/41723250/bxslider-error-invalidpointerid-on-android-6-0-1 stevenwanderski#1086 (comment)
Worked for me as well. Thanks! |
This is strange...
Bxslider was working all nicely on Android since today where on touch event of the carousel it fires this error "Invalid Pointer Id: Failed to execute 'set Pointer Capture' on 'Element': Invalid Pointer Id."
Looking at the bxslider script this is the code where the error fires:
Any clue on what is going on?
The text was updated successfully, but these errors were encountered: