Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
noamr opened this issue Jul 16, 2024 · 1 comment

Comments

@noamr
Copy link
Collaborator

noamr commented Jul 16, 2024

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.

@flackr
Copy link
Contributor

flackr commented Nov 8, 2024

I think providing an ink overflow based view range can be deferred for future work.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants