question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

bug: Anchor links not responding - iOS 15 beta

See original GitHub issue

Prequisites

Ionic Framework Version

  • v4.x
  • v5.x
  • v6.x

Current Behavior

Any anchor link tag in our Ionic 5 application is not being actioned in iOS 15 beta. This includes anchor links with:

  • click events
  • routerLink navigation

Expected Behavior

Behave as any other IOS version where anchor links perform as expected

Steps to Reproduce

  • iOS 15 beta on iOS device
  • try to click any anchor link in the code with click event, function attached or routerLink

Code Reproduction URL

No response

Ionic Info

Ionic:

Ionic CLI : 6.16.3 (/usr/local/lib/node_modules/@ionic/cli) Ionic Framework : @ionic/angular 5.6.12 @angular-devkit/build-angular : 12.1.4 @angular-devkit/schematics : 12.0.5 @angular/cli : 12.1.4 @ionic/angular-toolkit : 4.0.0

Capacitor:

Capacitor CLI : 3.1.2 @capacitor/android : 3.1.2 @capacitor/core : 3.1.2 @capacitor/ios : 3.1.2

Utility:

cordova-res : 0.15.3 native-run : 1.4.0

System:

NodeJS : v14.17.0 (/usr/local/bin/node) npm : 6.14.13 OS : macOS Big Sur

Additional Information

Code examples of our anchor links not working in iOS 15:

<a [routerLink]="RouteEnum.FundsWithdrawAccountAdd">Testing routerLink</a> <a (click)="logout()" class="text-secondary link-text">Testing click event</a>

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:19 (8 by maintainers)

github_iconTop GitHub Comments

3reactions
kushagranigamcommented, Oct 21, 2021

Update: If anyone is still looking for a fix, changing the pointer-events css property for hyperlinks fixes the issue. I am using following styles to have the hyperlinks working properly: a { pointer-events: initial; }

2reactions
liamdebeasicommented, Oct 29, 2021

Hi everyone,

Good news! This issue was resolved in iOS 15.1. As of that version, I can no longer reproduce the issue. I recommend updating to iOS 15.1 to receive this fix.

I am going to close this issue. Thanks!

Read more comments on GitHub >

github_iconTop Results From Across the Web

Issue 619: Anchor Links not always opening properly - Monorail
Product Version: 0.3.154.6. It seems that it is only links that are forced to open in a new tab that are not correct....
Read more >
Anchor link not working on IOS15.4.1 - WordPress.org
Anchor link not working on IOS15.4.1 · 1- Head over to WP Dashboard > Plugin. · 2- Deactivate all plugins. · 3- Then,...
Read more >
Universal Links not working properly on iOS 13
I'm using http2 only and was having a problem with univeral links on iOS 13.1.2 on my iPhone, but not on iPad. I...
Read more >
Add and edit links in your email - Acoustic Help Center
Note: If you use the HTTPS option when you do not have security certification or when it is not supported on the destination...
Read more >
Release Notes for Beta Channel - Microsoft Learn
Hyperlink reference not valid." We fixed an issue where the app experienced delays when opening the HTML-file version of Outlook messages. Office Suite....
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found