-
Notifications
You must be signed in to change notification settings - Fork 6
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
App sporadically crashes #682
Comments
The cases that I've collected so far:
|
Currently trying to work our way back to what could be causing the problem in the GHG instance as this wasn't happening in |
I used the time after the demo to get to the root of this problem. Crashes become noticeable after the introduction of RedirectionThe problem seemed to be introduced after we put the logic for redirections using Noting that I am not sure what part of redirection exactly triggered the unnecessary amount of There seem to be still problems with ShadowScrollbarHowever, redirection might have amplified the problem, but not be the root of the problem. For example, screen-recording-shadow.movI will go ahead and edit or get rid of |
Handles issue in #682 (comment) While putting this fix, I noticed that `use-media-query` returns document body size, which differs from how CSS media query works. This results in a weird style in between 991 px ~ 1000 px. (screenshot attached, it is on ghg.center now) 👉 I didn't fix this problem, but I patched it with CSS. (Eventually, we would need to move to Container query instead of media query: https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Container_Queries) ![Screen Shot 2023-10-04 at 3 01 10 PM](https://github.com/NASA-IMPACT/veda-ui/assets/4583806/215d0515-e4ff-4b42-b0b1-63a21506ad1c)
The issue is a bit mysterious and transient at this point. The app crashes sometimes when a new page is loaded, e.g. via click on another menu item.
Forcing reload fixes it, as we do in
But that degraded the user experience because the page reloads completely when switching between menu items.
Further investigation, e.g. via Sentry, is needed to get to the root of the issue
Acceptance criteria
The text was updated successfully, but these errors were encountered: