tomusborne / generatepress

452 stars 89 forks source link

Sticky Navigation & Add to Cart Panel - Not Working on Social Network Browsers #640

Open FunkyCss opened 2 months ago

FunkyCss commented 2 months ago

Sticky Navigation & Add to Cart Panel - Not Working on Social Network Browsers

Description:

When users click on ads within social media platforms (like Facebook, Instagram, or others), the content is opened within the social media app's internal browser. This setup is designed to help advertisers by providing better tracking and UI control.

However, it has been observed that the sticky navigation from GP (GeneratePress) and the "Add to Cart" panel do not work as expected when the site is viewed within these internal browsers. The issue appears to be isolated to the in-app browsers used by these platforms.

Steps to Reproduce:

  1. Set up a sticky navigation and "Add to Cart" panel in GP.
  2. Visit an ad on Facebook ( Mobile )
  3. Click on the ad within the social media app (so the page opens in the internal browser).
  4. Observe that the sticky navigation and the "Add to Cart" panel either do not stick or behave inconsistently.

Expected Behavior: The sticky navigation and the "Add to Cart" panel should behave as they do in other standard browsers (e.g., Chrome, Safari, Firefox), sticking to the top of the page and allowing users to seamlessly add items to the cart.

Actual Behavior:

Browsers Affected:

Additional Notes:

Possible Fixes/Investigation Areas: