-
-
Notifications
You must be signed in to change notification settings - Fork 78
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
[Bug]: Cannot read properties of undefined (reading 'scrollTop') & etc. when connected with a game controller #253
Comments
I'm not entirely sure, but it seems that both errors are caused by triggering a scroll event while the file is still loading, possibly by the gamepad. I've made the following change that should ignore these events while the file is still loading 4c93a72 Build: https://mega.nz/file/DDh2wJaR#pUhJMXeSUjJd99uTz6IDXI_fV5dhfl-0TKoela5IzoQ |
Seems fine now |
After I use below new version, similar error will still occurs.
|
Try this fix 078ec8d Build: https://mega.nz/file/bXIVDIoA#CD5cbSrvd_3cON-oq0vhWSxJ3KVqkxfRtZaUl76KeJY |
Thanks |
Preflight Checklist
OpenComic Version
1.2.0master.cc1ebbc & below
Operating System
WIN 10 22H2 19045.3324
Steps to reproduce
Open the cbz file
Expected Behavior
Open it normally without error message.
Actual Behavior
Open it normally with an error message.
Error message
Additional Information
I have a game controller connected on PC.
Gamepad.connected Read only
A boolean indicating whether the gamepad is still connected to the system.
Sample file
No response
The text was updated successfully, but these errors were encountered: