diff --git a/core/src/components/anchor/anchor.tsx b/core/src/components/anchor/anchor.tsx index 92c9992f50..c405d2ef0f 100644 --- a/core/src/components/anchor/anchor.tsx +++ b/core/src/components/anchor/anchor.tsx @@ -42,7 +42,7 @@ export class Anchor implements ComponentInterface { return ( openURL(this.win, this.href, ev, this.routerDirection)} + onClick={(ev: Event) => openURL(this.win, this.href, ev, this.routerDirection)} > diff --git a/core/src/components/back-button/back-button.tsx b/core/src/components/back-button/back-button.tsx index 1705b1897c..abf782c67b 100644 --- a/core/src/components/back-button/back-button.tsx +++ b/core/src/components/back-button/back-button.tsx @@ -79,7 +79,7 @@ export class BackButton implements ComponentInterface {