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

Skia/Reanimated/WebGL Limitation Limit In Web #167

Open
BenjaminWatts opened this issue Feb 20, 2024 · 0 comments
Open

Skia/Reanimated/WebGL Limitation Limit In Web #167

BenjaminWatts opened this issue Feb 20, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@BenjaminWatts
Copy link
Collaborator

BenjaminWatts commented Feb 20, 2024

Screenshot 2024-02-20 at 16 01 16

As it stands, there seems to be a limit with WebGl/React Native reanimated which limits the number of animated icons which can be viewed on web (there is no such limit on mobile). When this is overstepped, an error is rendered in the console and all icons disappear (but the page doesn't crash).

As a stopgap - I've implemented pagination and limited the number of viewed icons to 15 as defined in components/gb-live/bottom-sheet-tabs/unit-groups-list/unit-groups-list.tsx.

It would be nice especially for mobile clients to have a similar infinite scroll experience.

@BenjaminWatts BenjaminWatts added the enhancement New feature or request label Feb 20, 2024
@BenjaminWatts BenjaminWatts changed the title WebGp Limit In Web Skia/Reanimated/WebGL Limitation Limit In Web Feb 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant