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

BUG: Browser tab crashes when selecting a high number of room cards in the "Explore community" tab #2072

Open
OverLeo007 opened this issue Dec 1, 2024 · 0 comments · May be fixed by #2109

Comments

@OverLeo007
Copy link

Describe the bug

When searching in the "Explore community" tab, users can select the number of room cards to display. While there are predefined options, it is also possible to select a custom value. If a very high number (e.g., 1,000,000) is entered, the browser starts consuming excessive memory, causing the tab to freeze. This makes it impossible to cancel the action without closing the tab.

Reproduction

  1. Go to the "Explore community" tab in Cinny.
  2. Use the search feature and select a custom number of room cards to display.
  3. Enter a very large number (e.g., 1,000,000).
  4. Observe the browser consuming excessive memory and freezing the tab.

Expected behavior

The application should limit the maximum number of room cards to prevent excessive memory usage and browser crashes. If a custom value is entered, it should be validated and restricted to a safe range.

Platform and versions

1. OS: Windows 10
2. Browser: Yandex 24.12.0.1733, Google Chrime 119.0.6045.200
3. Cinny version: v4.2.3 
4. Matrix homeserver: converser.eu

Additional context

No response

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