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

A question. #26

Open
mienaiyami opened this issue Nov 15, 2022 · 0 comments
Open

A question. #26

mienaiyami opened this issue Nov 15, 2022 · 0 comments

Comments

@mienaiyami
Copy link

Hello, first of all sorry for creating an issue that isn't related to this repo, but I needed some help from a fellow developer who worked on similar project.
I'm author of similar app as yours (https://github.com/mienaiyami/react-ts-offline-manga-reader) which I have been working on for a while. I had an issue where app will stutter when scrolling, which I later found out was because they were decoding when they were visible on screen, so I use img.decode() on load of image element in advance.
The issue got fixed but only for some images. If resolution of image is higher than 4k the issue persists, and I get the error DOMException: The source image cannot be decoded. and I can't seem to find a way to prevent this. Then one of my app's users mentioned that your app does not stutter when he is scrolling high resolution images.

It would be a great help if you can tell how you prevent stuttering in your app. I have checked you code and can't find anything that might be preventing stuttering.

Sorry if you are checking my project, I haven't made a documentation yet as this is my first project and I missed it in start of development.

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

No branches or pull requests

1 participant