-
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
[$500] Chat -In offline, while edit comment, tapping on emoji picker moves cursor to compose box. #31709
Comments
Triggered auto assignment to @mallenexpensify ( |
Job added to Upwork: https://www.upwork.com/jobs/~01f8d143448ba4dda0 |
Bug0 Triage Checklist (Main S/O)
|
Triggered auto assignment to Contributor-plus team member for initial proposal review - @abdulrahuman5196 ( |
ProposalPlease re-state the problem that we are trying to solve in this issue.Chat -In offline, while edit comment, tapping on emoji picker moves cursor to compose box What is the root cause of that problem?
In here relatedTargetID is null, so we call setShouldShowComposeInputKeyboardAware(true). It makes the main composer appear What changes do you think we should make in order to solve the problem?
In here we should check both targetID and relatedTargetID like that
What alternative solutions did you explore? (Optional) |
ProposalPlease re-state the problem that we are trying to solve in this issue.In edit composer, tapping on emoji picker button shows the main composer and moves cursor to it What is the root cause of that problem?App/src/pages/home/report/ReportActionItemMessageEdit.js Lines 431 to 434 in 34d165e
As you can see above, we don't show the main composer when the edit composer gets blurred by emoji button or by tapping on other edit composer. The problem here is that the id of emoji button was not properly set. When emoji button is tapped, App/src/components/Pressable/GenericPressable/index.tsx Lines 10 to 19 in 34d165e
We removed the This is the root cause What changes do you think we should make in order to solve the problem?Simply removing the below code would solve the issue
Note: We might need to remove all Result31709.mp4What alternative solutions did you explore? (Optional) |
I am not able to understand the issue itself. Could someone explain more?
|
Try the following steps in mobile web platforms
|
Just back from weekend. Will check again tonight on the repro steps. |
Got it. Proposal from @DylanDylann here #31709 (comment) and proposal from @s-alves10 here #31709 (comment) is working. @s-alves10 As part of RNW migration, it seems we replaced the usage of |
@abdulrahuman5196
As you can see, we are already passing And please check the below code App/src/components/Pressable/GenericPressable/index.tsx Lines 12 to 18 in 5db665c
In line 12, We need to pass through the |
📣 It's been a week! Do we have any satisfactory proposals yet? Do we need to adjust the bounty for this issue? 💸 |
I need to confirm which proposal suits, will provide update by tomorrow. |
Missed the above, Will provide in my morning |
@mallenexpensify @abdulrahuman5196 this issue was created 2 weeks ago. Are we close to approving a proposal? If not, what's blocking us from getting this issue assigned? Don't hesitate to create a thread in #expensify-open-source to align faster in real time. Thanks! |
@s-alves10 's proposal here #31709 (comment) looks good and works well. 🎀 👀 🎀 |
Triggered auto assignment to @yuwenmemon, see https://stackoverflow.com/c/expensify/questions/7972 for more details. |
@s77rt I noticed that if applying @s-alves10's proposal, after selecting emoji in edit composer, the main composer will be focus @s-alves10 Could you also check this case? |
@DylanDylann Which platform did you test on? |
I tested Safari-web on an iPhone emulator. Oh, wait..... It seems I can't reproduce this issue. Please check again. If you can reproduce it, please also check the case: after selecting emoji in edit composer, ensure that edit composer will be focus instead of main composer |
yeah, I'm not able to reproduce |
If y'all can't reproduce, I'm going to close. If you disagree, please comment |
This issue is still reproducible. What I meant in #31709 (comment) is that I wasn't able to reproduce what @DylanDylann mentioned in #31709 (comment). This issue is reproducible in mWeb chrome bandicam.2023-12-09.19-11-27-465.mp4 |
Reopening to try to reproduce via Browserstack. Will get to soon. |
This issue isn't related to whether offline or online. I think this is a bug worth fixing |
@s-alves10 this is the bug though, correct? |
yes |
@mallenexpensify @abdulrahuman5196 this issue is now 3 weeks old. There is one more week left before this issue breaks WAQ and will need to go internal. What needs to happen to get a PR in review this week? Please create a thread in #expensify-open-source to discuss. Thanks! |
This issue was already C+ approved. @mallenexpensify can we assign @yuwenmemon for internal engineer review? |
@mallenexpensify, @abdulrahuman5196 Uh oh! This issue is overdue by 2 days. Don't forget to update your issues! |
@mallenexpensify to check on this - #31709 (comment) |
I'm going to close, I think this is low priority and not worth investing internal engineering resources. |
If you haven’t already, check out our contributing guidelines for onboarding and email contributors@expensify.com to request to join our Slack channel!
Version Number: 1.4.2-0
Reproducible in staging?: Y
Reproducible in production?: Y
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: Applause-Internal Team
Slack conversation: @
Action Performed:
Expected Result:
In offline, while edit comment, tapping on emoji picker must not move cursor to compose box
Actual Result:
In offline, while edit comment, tapping on emoji picker moves cursor to compose box.
Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Screenshots/Videos
Bug6287169_1700659269186.cursor.mp4
View all open jobs on GitHub
Upwork Automation - Do Not Edit
The text was updated successfully, but these errors were encountered: