Hi ! I’m currently setting up the mobile version of my website. However, I’m running into some weird issues.
First of all, all the code I have runs without a hitch on the desktop version, however, some code doesn’t run or only runs partially on the mobile website. (for instance, formatted text in a repeater works only on the first item, but not on the following)
This has come to make me wonder: do errors in the code on the mobile version affect the well functioning of the latter? What I mean is, I have removed some items from the mobile version, thus some elements that are called in the code can’t be found, and it shows me lots of errors.
I tried fixing that by implementing the following bit of code to concerned code :
import wixWindow from 'wix-window';
if(wixWindow.formFactor === "Desktop"){ }
But it didn’t seem to have fixed anything.
Thanks for the help!