-
SummaryI have a table with each row having a "open in new tab" button. I need to set the row object in the sessionStorage to reuse it in the new tab, but the Link component with href prop it's not working as expected. With this code, the sessionStorage is only set on the current tab but not on the new opened one.
I came up with the following solution, using Link with empty href and an onClick handler which set the sessionStorage and then performs the window.open.
Is this the correct way? Additional informationNo response ExampleNo response |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
I think... you have to add |
Beta Was this translation helpful? Give feedback.
I think... you have to add
rel="opener"
to the link