I'm experiencing a rendering issue in iOS Safari where fast scrolling causes DOM elements to temporarily disappear, exposing the page background. The missing elements only become visible again after a short delay or when scrolling slows down.
This happens in my React application using Material UI (MUI).
What happens
The page initially renders correctly.
When I scroll quickly or flick repeatedly on an iPhone, large sections of content become blank.
The underlying page background becomes visible instead of the expected elements.
The missing elements eventually reappear.
The issue is visually noticeable and makes scrolling appear broken.
Minimal reproduction
To investigate, I replaced my application content with 1,000 basic HTML elements, without virtualization, lazy loading, or custom scroll listeners.
const sharedGlobalStyles = {
styleOverrides: {
html: {},
body: {
boxSizing: 'border-box',
margin: 0,
padding: 0,
minHeight: '100vh',
height: '100%',
width: '100%',
fontFamily: 'Roboto, sans-serif',
userSelect: 'none',
WebkitTouchCallout: 'none',
WebkitUserSelect: 'none',
overflowY: 'auto',
overflowX: 'hidden',
overscrollBehavior: 'contain',
WebkitOverflowScrolling: 'touch',
},
},
};
const ScrollTest = () => {
return (
{Array.from({ length: 1000 }, (_, index) => (
Element #{index + 1}
iOS Safari fast scrolling test
))}
);
};
