Skip to content

Weird behaviour on iphone #77

@abren93

Description

@abren93

Hello,

I tested the same setup on android with google chrome and on ios 13 and 14 with both safari and google chrome.
On android the snapping is instant, while on ios there is a great amount of delay until the snapping kicks in.
Here is my setup:
const createScrollSnap = require('scroll-snap').default;
createScrollSnap(
element,
{
snapDestinationX: '0%',
snapDestinationY: '100%',
timeout: 0,
duration: 0,
threshold: 0.1,
easing: (t) => (t * t * t),
},
onSnap,
);

I tried different variations of this but it seemed to have no effect on the time it takes to snap.
Is this a ios problem and is there anything I can do?
Thank you

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions