mirror of
https://github.com/DOI-DO/j40-cejst-2.git
synced 2025-08-14 02:44:19 -07:00
Open external links in new tabs (#731)
* Open external links in new tabs - allow contact page mailto link opens in new tab - allow about page mailto link opens in new tab - comment against opening external links in same tab * Update snapshots
This commit is contained in:
parent
53c2d98eaa
commit
77a5f179a9
5 changed files with 16 additions and 1 deletions
|
@ -17,6 +17,11 @@ interface ILinkTypeWrapper {
|
|||
* instance to choose the type of link along with the props necessary to
|
||||
* set new tabs, classes.
|
||||
*
|
||||
* Note - if the link is an external link and will not open in a new
|
||||
* browser tab, ensure that hitting the back button works. This has shown to
|
||||
* have errors on edge cases (ie, launching the gmail client with mailto links)
|
||||
* and it is the recommendation to not have external links open in the same tab.
|
||||
*
|
||||
* @param props
|
||||
* @returns
|
||||
*/
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue