-
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 #45289][$250] Dev-Unable to send a message #46823
Comments
Triggered auto assignment to @Christinadobrzyn ( |
This has been labelled "Needs Reproduction". Follow the steps here: https://stackoverflowteams.com/c/expensify/questions/16989 |
This was fixed in #46626 |
oh awesome! Closing without next steps. |
Actually sorry for speaking too soon, this was fixed but now its reproducable again Screen.Recording.2024-08-05.at.11.58.44.PM.mov@Christinadobrzyn Can you please reopen 🙇 |
@ishpaul777 do you want to fix this issue here or is there another GH? If we're fixing here, let me know and I can assign you to this GH. |
There's no other GH for the issue, i dont bandwidth to investigate the issue myself but happy to take this as c+ and review any incoming proposals, |
Job added to Upwork: https://www.upwork.com/jobs/~01fb2184646c58f366 |
Current assignee @ishpaul777 is eligible for the External assigner, not assigning anyone new. |
awesome! Thanks @ishpaul777 - let's get some proposals. |
Edited by proposal-police: This proposal was edited at 2024-08-12 04:38:45 UTC. ProposalPlease re-state the problem that we are trying to solve in this issue.Unable to click on send message in web, when running in Strict Mode dev environment What is the root cause of that problem?We're using tap gesture detector in SendButton component here, and because A short explanation is that: this effect will run twice in strict mode. That means we register 1 gesture handler, drop it immediately and register another new one. However, since the gesture handler is only removed from the global registry but still attach to the View component's event listener, so this will be called once for each handler. And since the user presses the send button, it will trigger Now, in here, we have the logic to cancel out overlapping gesture handler here. That being said, the first (outdated) gesture handler will cancel the second gesture handler, hence, the final state of the second handler will be And since both gesture handlers listen for What changes do you think we should make in order to solve the problem?Upgrade the Also, to avoid issue where the gesture detector attach the event listener to the tooltip content instead of the inner Pressable view here, we should move the Tooltip wrapper to the outside of the root View here
What alternative solutions did you explore? (Optional) |
@ishpaul777 can you check out this proposal when possible? #46823 (comment) |
Thanks for your proposal @dominictb, I upgraded to latest version of react-native-gesture-handler, i am still facing this issue Screen.Recording.2024-08-12.at.1.19.42.AM.mov |
@ishpaul777 sorry, I have tested on small screen using web inspector, so I might forget about the Hence, after the lib upgrade, we should move the |
@ishpaul777 #46823 proposal updated! |
FYI, newer software-mansion/react-native-gesture-handler#2927 (comment)
|
@ishpaul777 in this case, shall we apply the patch until the RN upgrade PR is merged? |
@ishpaul777 sure, I'll send you a test branch in a bit. |
📣 It's been a week! Do we have any satisfactory proposals yet? Do we need to adjust the bounty for this issue? 💸 |
Update for Melvin - we're reviewing proposals |
@ishpaul777 https://github.com/Expensify/App/compare/main...dominictb:epsf-app:fix/46823-gesture-handler?expand=1 testing branch A small note, in 2.14.1 version we don't need to update the change in
because the GestureDetector implementation at this version still allow us to maintain a stable gesture-handler view instead of switching to the tooltip content view during pressing. However, updating to the latest version requires the change in |
just checking in on this - how is the review going @ishpaul777? |
i'll provide feedback today 🙇 |
I recently stumbled upon PR #40548 for RN upgrade 0.74 we are also upgrading the rn gesture handler there https://github.com/Expensify/App/pull/40548/files#diff-7ae45ad102eab3b6d7e7896acd08c427a9b25b346470d7bc6507b6481575d519 I think we are close there. I think Holding this make more sense sorry i was not aware that we already have a PR for upgrade in works. Otherwise i would have suggested to HOLD before asking for branch 🙇 Appreciate the works @dominictb |
Sounds good @ishpaul777 - thanks for the investigation. I added a HOLD to this GH while #40548 is in the works. |
#40548 is closed. In my testing this is resolved - asking QA to test again. https://expensify.slack.com/archives/C9YU7BX5M/p1724188333800229 |
it appears it was closed it so a we can focus on upgrading RN to version 0.75 PR-> #45289 so for now issue still exists Screen.Recording.2024-08-21.at.3.12.24.AM.mov |
Sorry @ishpaul777 I'm not sure I understand what is next for this. Are we reviewing proposals or waiting for something? |
We should hold for #45289 |
Looks like #45289 is in staging so I think we can test this again. I'll move to daily to try and test today/tomorrow unless you can get to it @ishpaul777 |
Hum, I think this is resolved, @ishpaul777 can you double-check? |
yes this is resolved now We can close this |
If you haven’t already, check out our contributing guidelines for onboarding and email [email protected] to request to join our Slack channel!
Version Number:
Reproducible in staging?: N/A
Reproducible in production?: N/A
If this was caught during regression testing, add the test name, ID and link from TestRail:
Email or phone of affected tester (no customers):
Logs: https://stackoverflow.com/c/expensify/questions/4856
Expensify/Expensify Issue URL:
Issue reported by: @ishpaul777
Slack conversation: https://expensify.slack.com/archives/C049HHMV9SM/p1722528633557129
Action Performed:
Expected Result:
Message delivered to recipient
Actual Result:
Unable to send
Workaround:
Can the user still use Expensify without this being fixed? Have you informed them of the workaround?
Platforms:
Which of our officially supported platforms is this issue occurring on?
Screenshots/Videos
Add any screenshot/video evidence
Screen.Recording.2024-08-01.at.9.39.47.PM.mov
View all open jobs on GitHub
Upwork Automation - Do Not Edit
Issue Owner
Current Issue Owner: @The text was updated successfully, but these errors were encountered: