Square Ryan O'Neill Nov 4, 2021

Beyond Mobile First: Modern Mobile Development Strategy

Article Summary

Ryan O'Neill from Square reveals why 9 out of 10 mobile shoppers think their experience could be better. His team's solution? Stop thinking mobile-first and start thinking app-first.

Square Online's engineering team tackled the mobile commerce experience gap by bringing native app interactions to the web. They built Maker, an open-source Vue.js design system, to create touch-friendly interfaces that work seamlessly across mobile and desktop.

Key Takeaways

Critical Insight

Square unified mobile and desktop e-commerce experiences by implementing native app patterns on the web, solving Safari's dead-click issue and creating stackable modals that feel natural on any screen size.

The article includes a candid discussion of what still can't be replicated on the web (yet) and Google's proposed solution that could change everything.

About This Article

Problem

Safari's mobile browser has a 44-pixel dead-click zone at the bottom of the screen when the navigation bar is hidden. Users' taps on action buttons trigger the navigation bar instead of registering clicks on the website.

Solution

Ryan O'Neill's team moved action bars above the 44-pixel dead zone. They used the CSS environmental variable 'safe-area-inset-bottom' to adjust bottom margins based on whether Safari's navigation bar is visible or hidden.

Impact

Action bar taps now register correctly on mobile Safari. Users no longer need to tap buttons twice, and e-commerce interactions work reliably across different iOS navigation bar states.