-
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 for RN-Modal to support RN 0.65] [Windows only] Cntrl + click doesn't open the link in a new tab for MenuItem component. #3455
Comments
Triggered auto assignment to @michaelhaxhiu ( |
hmm, @rushatgabhane this works for me on Mac when I do a cmd + click (web and desktop app). Is it possible this is just impacting Windows users? |
This comment has been minimized.
This comment has been minimized.
Yes, looks like it's an issue for windows and linux only. I was able to reproduce the issue on 2 devices. |
it's certainly minor, but I don't see why we shouldn't fix this for consistency. It would annoy me if this occurred on Mac. |
Cool, thanks for the bud check @Julesssss. I'll post it on Upwork and confirm here when that is done. If you'd like to solve it, you can post a solution proposal @rushatgabhane (in which case, you'd be compensated a bonus for finding this enhancement + solving it) Then, a member of our eng team will review your proposal and give the 👍 or 👎 on proceeding with a PR. |
Ok, this job is posted to Upwork here - https://www.upwork.com/jobs/~01e82d35df4dd24853 @rushatgabhane feel free to apply for the job in Upwork if you want to propose a solution, and you'll receive a $150 bonus in addition to payment for the solution. |
@michaelhaxhiu sure! I'm working on a proposal, will apply soon. |
Triggered auto assignment to @Jag96 ( |
@Jag96 will be able to assist with reviewing your proposal as the next step. After we have the 👍 we will assign you to the GH and hire you on Upwork. |
This issue occurs whenever react-native's Linking is used within a Button, Pressable etc. Doesn't happen for Text. |
Oh wow interesting~ In that case, I feel like we should stick with the React-native standard and wait on them to fix it. It seems minor to me, especially since there's a solid workaround. @Jag96 lmk if you agree with this angle or want to continue with fixing this. Either way @rushatgabhane we appreciate you filing this! We love when contributors discover and file jobs. Keep it up! |
Add |
@Jag96, @rushatgabhane it looks like no one is assigned to work on this job. |
Issue is on hold. |
Still on hold |
Please refer to this post for updated information on the |
Still on hold |
Overall I agree with what @parasharrajat is suggesting here: #3455 (comment) The semantic and accessibility compliant way is to render an anchor tag
Internal LinksWe're not handling internal routing as links, but react to button presses (simulating link behavior)
External LinksIt seems our concern for this ticket is regarding external links From the A Since I've already tried this I've captured a draft of the necessary changes here: #6296 With a bit more changes we could also cover internal links |
@kidroca that's a great breakdown, thanks for having a look at that. Since this is just affecting the control + click for windows users, I still don't think it's worth making all these changes that can affect how links work on all platforms across the app, so I'm leaning towards leaving this on hold. If anyone has different opinions, feel free to chime in here. |
I'm fine with that stance. Maybe it turns into a bigger issue at some point
and we can revisit this proposal.
…On Mon, Nov 15, 2021 at 4:14 PM Joe Gambino ***@***.***> wrote:
@kidroca <https://github.com/kidroca> that's a great breakdown, thanks
for having a look at that. Since this is just affecting the control + click
for windows users, I still don't think it's worth making all these changes
that can affect how links work on all platforms across the app, so I'm
leaning towards leaving this on hold.
If anyone has different opinions, feel free to chime in here.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#3455 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAJMAB2FG34CKP2BIUPQVDLUMGH5PANCNFSM46K6RMCQ>
.
|
Still on hold |
@Jag96 This should have been resolved now. We upgraded RN-web. |
Wohoo! This issue is resolved and can be closed. Screencast.from.06-01-22.06_32_54.PM.+03.mp4 |
Is any compensation due for this issue? I'll assume no if no one comments |
Hmm, issue reporting bonus? Depends on if it works retroactively. |
@rushatgabhane if you reported a bug or feature request that got fixed internally or externally, and you were the first to report it, I think you're eligible for the reporting bonus (even if it's many months old). Sound good @Jag96 ? |
Yeah that sounds good to me! @rushatgabhane I've created an Upwork job and invited you! |
Done, thank you! |
Paid! |
If you haven’t already, check out our contributing guidelines for onboarding and email contributors@expensify.com to request to join our Slack channel!
Expected Result:
Both click and Cltr + click on MenuItem with a link opens the link in new tab.
Actual Result:
Only click opens the link in new tab.
Cltr + click doesn't do anything.
The video below demonstrates that only the component MenuItem (with a link) has this problem.
Text links work as expected.
Expensify.cash.-.Google.Chrome.2021-06-09.02-23-53.mp4
Action Performed:
Workaround:
User can click without pressing Cltr.
Platform:
Where is this issue occurring?
OS: Windows
Browser: Chrome
Web ✔
iOS
Android
Desktop App ❔
Mobile Web
Expensify/Expensify Issue URL: https://github.com/Expensify/Expensify/issues/166732
Upwork job link: https://www.upwork.com/jobs/~01e82d35df4dd24853
View all open jobs on Upwork
The text was updated successfully, but these errors were encountered: