How can I fix the issue with the scroll not being smooth on my mobile device (iPhone + Safari) in Webflow?

TL;DR
  • Remove custom JavaScript and reintroduce scripts one by one to identify any that cause scrolling issues.
  • Simplify Webflow animations and use efficient properties to improve performance.
  • Fix any element overflow settings affecting the viewport using Webflow Designer.
  • Implement CSS fixes specific to Safari, including smooth scrolling and addressing known bugs.

Scroll issues on iPhones with Safari can occur due to various reasons such as custom code conflicts or animation settings. Follow these steps to troubleshoot and resolve the issue.

1. Check for Custom Code

  • Remove any custom JavaScript in the "Project Settings" under the "Custom Code" tab to see if it resolves the issue. Re-add each script one by one to identify the culprit.
  • Ensure that no conflicting libraries or scripts are present that could affect scrolling.

2. Review Webflow Animations

  • Inspect any Webflow animations or interactions. Ensure they are not causing performance issues by simplifying complex animations or reducing their impact.
  • Update animations to use more efficient properties, like transforms instead of position changes, to improve scroll performance.

3. Evaluate Element Overflow

  • Ensure no elements are causing overflow issues that force larger page calculations.
  • Use the Webflow Designer to find and fix any sections or divs with overflow settings that may affect the viewport.

4. Consider Safari-Specific Fixes

  • Use CSS for smooth scrolling by adding scroll-behavior: smooth; to your stylesheets.
  • Check known Safari bugs and apply necessary CSS workarounds or updates.

Summary

To fix the smooth scrolling issue on iPhones with Safari, begin by checking for and removing any custom code, simplify interactions and animations, and inspect overflow issues. Adjust CSS properties as needed to optimize for Safari.

Rate this answer

Other Webflow Questions