wixLocation.to function resetting dropdown's

This is a totaly normal behaviour.

Your DropDowns resets, because you redirect to another page.

How to resolve this issue? —>
https://www.wix.com/velo/reference/wix-storage/storage/introduction