-
Notifications
You must be signed in to change notification settings - Fork 2.9k
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
[HOLD] [iOS] Figure out why setTimeout is needed when viewing SidebarScreen on load, replace with better solution #5296
Comments
Triggered auto assignment to @kadiealexander ( |
Upwork job: https://www.upwork.com/jobs/~01e9442bc5ff417a90 |
@Beamanator
Thanks. |
@nhanth1012 please add more detail and explanation to your proposal. Why do you think that will fix the issue? Also, are you recommending replacing the entire if-statement with |
@Beamanator |
@nhanth1012 Ideally yes, or if |
I think that a valuable next-step for this issue would be to take some lessons/evidence from this issue and submit a detailed bug report to react-navigation with a minimal reproduction of the issue. From there, we can see what activity the issue generates/whether the maintainers pick it up or whether we should investigate the possibility of submitting a fix ourselves. |
N6 hold is still applied this week. |
This could be another candidate for getting assistance after sponsoring react-navigation (https://github.com/Expensify/Expensify/issues/179779) |
Please refer to this post for updated information on the |
Back at it after a busy last week, will try to get this done the upcoming week |
Not overdue Melvin, please go away! |
@Beamanator do you have any update on this one? |
I'm dropping this to Monthly since I've got a bunch of other priorities at the moment, I'll try to take a look this month |
Haven't gotten to this yet, other priorities keep popping up |
Not top priority still |
Still in the middle of some high priory tasks (currently Offline First doc) |
This is precisely why we shouldn't ever put these comments in the code 😬 |
So true 😅 🤦 |
If you haven’t already, check out our contributing guidelines for onboarding and email contributors@expensify.com to request to join our Slack channel!
Action Performed:
setTimeout
from this codeisActive={true}
there so the global create menu should show immediatelyExpected Result:
Global create menu should show up. Since it doesn't, we were forced to introduce a 200ms timeout here, but we want to understand why & how to remove that and still make the global create menu display when a new expensify user opens the app for the first time (unless they already have a workspace)
Actual Result:
Global create menu doesn't show up
See @mateomorris 's tests in this comment
Workaround:
Keep the code as it is, it works but we don't know why it's necessary 👎
Possible solutions / ideas so far
Platform:
Where is this issue occurring?
Version Number: latest
Notes/Photos/Videos: Any additional supporting documentation
Issue reported by: @mateomorris here
Slack conversation: N/A
View all open jobs on GitHub
The text was updated successfully, but these errors were encountered: