brianleroux/lawnchair

Weird behavior between windows

pirhoo opened this issue · 4 comments

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

yes, the default stores on the DOM or window.top.name

OK. I thought it was using webstorage to make it last. So if I include other adapters, Lawnchair will choose the "more persistent", right ?

yes, adapters will be tested in the order you include them.

https://github.com/whiteout-io/mail-html5/blob/master/Gruntfile.js#L264

OK, thanks for the quick answer!