I have a product filter set up in a lightbox. I used session.setItem to save the selected and use session.getItem to retrieve it. I use session because I want the selection to be preserved when moving between the product page and product gallery so that users don't have to reselect everything and it does work on desktop version where I don't use a lightbox.
However I have the following psuedocode going on :
starting on productGallery on desktop version select red then switch to mobile version
session.getItem('filterObj') returns ['red']
open the filter lightbox, session.getItem('filterObj') returns []
user selects "blue", add "blue" to filterObj and session.setItem('filterObj', filterObj)
session.getItem('filterObj') returns ['blue']
close lightbox to return to productGallery and session.getItem('filterObj') returns ['red']
Essentially it seems lightbox has its own 'session' independent of the site's 'session'. Is this yet another bug of Corvid? It's does not seem to be documented anywhere that lightbox have their own 'session' nor should they in my opinion.
I know I can pass data from lightbox through coding, but it would be redundant since it would mean that I would have to pass the data and then run session.setItem again even though it already did when the user chooses what filters to add.
I am passing this on the QA for evaluation.