Skip to content

[scroll-animations-1] Consider adding a timeline range that takes ink overflow into account #10581

Open
@noamr

Description

@noamr

Following up on #8282, scroll-driven animation primitives like view() are useful for any scroll-related behavior, such as setting view-transition-name only when an element is in the viewport.

However, when implementing a precise user-experience, the fact that view() doesn't account for ink overflow leaves some inaccuracies - it's impossible to precisely tune the behavior such that it will be different when the entire element (including its ink overflow is within/outside the viewport).

Using a timeline-range for it might be useful, though we have to take into account that ink overflow is somewhat platform specific.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions