Weird behavior between windows
pirhoo opened this issue · 4 comments
pirhoo commented
Hi,
Maybe I misunderstood something, but when I'm using lawnchair with the default adapters, the data persistence only lasts until I close the tab/window. Did I miss something?
Best & thanks,
Pierre
felixhammerl commented
yes, the default stores on the DOM or window.top.name
pirhoo commented
OK. I thought it was using webstorage to make it last. So if I include other adapters, Lawnchair will choose the "more persistent", right ?
felixhammerl commented
yes, adapters will be tested in the order you include them.
https://github.com/whiteout-io/mail-html5/blob/master/Gruntfile.js#L264
pirhoo commented
OK, thanks for the quick answer!