-
Notifications
You must be signed in to change notification settings - Fork 3k
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
iOS/Android - Message - Copy message menu is not displayed when pressing on the message #2279
Comments
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
1 similar comment
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
My PR was pretty decayed and didn't work on all platforms, but since this can be worked on externally I think we should get this on Upwork. Hopefully my draft PR can still be a resource to the contributor that we hire to fix this issue. It's trickier than it looks! Curious to see what proposals people come up with. |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
I will check the call back implemented on press of text and the view that is carrying it. The problem should be somewhere in the callbacks. |
proposal:
Screen.Recording.2021-06-07.at.21.07.44.mov |
@Viacheslav80 what about the case when there is markdown / html in a message? Have you thought about the other consequences of removing that prop? We still want to be able to select text to copy/paste on (desktop) web and the macOS app. |
@roryabraham Hi! I tested it on the web and desktop - it is copied as before. Right now, markdown is not copied in the app, moreover, it is not displayed correctly right now. It doesn't depend on whether we have this prop or not |
@Viacheslav80, just removing the |
@roryabraham Ok! We can do a check: selectable={(Platform.OS == "web") ? true : false} ? |
@roryabraham Hi! Ok. We can do a check: Screen.Recording.2021-06-10.at.15.49.34.mov |
Issue reproducible today during KI retests |
@Viacheslav80 you're hired in Upwork now, so feel free to move forward with the PR. Thanks! |
Hi! Ok. I am started |
Triggered auto assignment to @arielgreen ( |
@arielgreen I'm OOO til 5 July, so am reassigning my chores. Thanks. |
Issue reproducible during KI retests. |
1 similar comment
Issue reproducible during KI retests. |
PR for this is in review |
Reopening, will close again upon payment July 6th. |
Paid. |
@roryabraham @arielgreen Shouldn't we reopen this? The PR was reverted so no fix is in place. |
Good catch @rdjuric! @Viacheslav80 I saw you created this PR but quickly closed it. What happened there? Was there another PR I missed somewhere? |
@roryabraham Hi! I closed this PR because you already removed subscribe "touchstart" event |
PR is ready here #3927. This will fix every context-menu glitch on M-web devices. I am not sure about native devices that should have been taken care of by this issue. My original comment was #3659 (comment). I think we may need to block the native copy menu on the User name and avatar as well, as they are part of the message. |
Okay, @Viacheslav80 would you mind submitting a simplified version of your previous PR without the few |
Sorry for the confusion here everyone. Between these three PRs, I believe this issue should be completely resolved: |
If you haven’t already, check out our contributing guidelines for onboarding and email [email protected] to request to join our Slack channel!
Expected Result:
Copy icon should appear and able to copy the message
Actual Result:
Copy icon does not appear, only device copy functionality opens up
Action Performed:
Workaround:
If you press directly on the text the correct menu opens.
Platform:
Where is this issue occurring?
Web
iOS ✔️
Android ✔️
Desktop App
Mobile Web
Version Number: 1.0.15-0
Logs: https://stackoverflow.com/c/expensify/questions/4856
Notes/Photos/Videos:
This was not reproducible on previous regression. The correct menu to copy the message would appear.
Video
Upwork post: https://www.upwork.com/jobs/~0117a4dc6fabf8301b
The text was updated successfully, but these errors were encountered: