You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
title: Hyperlinking considerations in SharePoint Framework (SPFx)
3
+
description: Considerations when hyperlinking on a modern page in regards to smart or absolute navigation
4
+
ms.date: 11/19/2019
5
+
ms.prod: sharepoint
6
+
localization_priority: Priority
7
+
---
8
+
9
+
# Hyperlinking considerations in SharePoint Framework (SPFx)
10
+
By default on a modern page in SharePoint when a hyperlink is clicked, navigation to the page is achieved via a page router to avoid full refresh of the screen.
11
+
12
+
When you develop custom SPFx solutions the behavior of smart navigation might not be desirable, especially for scenarios using the `target` attribute to open a page in a separte tab in the browser.
In the above example the `target` attribute will be ignored and the page opens in the same tab via page router logic. In order to override the page router for hyperlinks add the `data-interception` attribute to the link with a value of `off`.
0 commit comments