I am checking in Chrome and I also see the issue in Edge. It doesn’t happen on page refresh I think, but it happens from when going from Google for example to our website.
It doesn’t happen every time either and it is harder to notice now that I have removed the check mark, but when it does happen its actually really hard to see it. I was barely able to stop the browser and capture that screenshot it look me 10 minutes. It is quite annoying seeing the frame skip to then to homepage though. It looks quite unprofessional.
Tried Firefox I don’t see the problem. I also tried Google Chrome Incognito and didn’t see the problem there either. Which led me to believe it was an extension I have, so I disabled all my extensions, cleared cookies/cache, but no luck out of incognito. I had a friend also try on Chrome & Edge and the issue persists on these 2 browsers for them.
That fixes the issue actually but it removes the ‘Add to Cart’ notification functionality completely which is quite useful to assist the customer in proceeding to checkout.
The method of making it a comment also removes the check mark from the pop up add to cart box. Use method below instead to fix it. I found it on github.
Go to edit code and find this ----> cart-notification.liquid
You have to relocate/move the style tag shown below in the pictures:
Move it right above
I read on github from user ComicDansMS that The style tag sits after the liquid block instead of before it, which causes the element to be rendered before the style is loaded.
see pictures for before and after for proper placing of code.
That way works, but it also removes the checkmark from the pop up add to cart notification. The way I mentioned, doesn’t remove the checkmark. Both ways fix it, but one leaves the checkmark.
If you just relocate/ move the the code you get the cart notification like this with white a checkmark, like below.
This ended up being my solution, I have reverted my checkmark comment code as well now.
Browsing from any webpage back to my website does not flash the add to cart notification and I also have the little checkmark back! I was beginning to think this wasn’t going to get resolved, so I thank you a ton for finding that Github post, now I wonder how you found it because I was scouring the internet everywhere for a fix!
Unsure what further work you and Ketan did there after your post and what it resolved, but it seems just moving that block of code above the liquid code was my fix.
I appreciate all the help @11rv11 & @KetanKumar ! I will leave this post up for others suffering this annoying bug