react-new-window icon indicating copy to clipboard operation
react-new-window copied to clipboard

Support for when the main parent window closes

Open robboerman2 opened this issue 6 years ago • 2 comments

Hi,

This react libary is really cool, but i was wondering what the best way is to support when the main window closes that the redux in the popup keeps working. currently when the main window closes, the redux actions in the popup window will not work anymore

robboerman2 avatar Apr 25 '18 07:04 robboerman2

Not sure if this is a solution but have you tried features={{dependent:true}} ? https://developer.mozilla.org/en-US/docs/Web/API/Window/open#Window_features

RyanNerd avatar Jul 10 '18 20:07 RyanNerd

Not sure if persisting the Redux state into localStorage could help. I might need some time to recreate this issue and test that idea.

rmariuzzo avatar Nov 28 '22 05:11 rmariuzzo