You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a position: sticky type of interface I'm building with this. It's relatively simple but I want to clip the contents of the non-sticky container when it goes past a threshold on the exit-crossing bounds.
// title or target height is 32px
animation: clip-out linear both;
animation-timeline:view(block);
// animation-range: exit-crossing -64px exit-crossing 32px;
animation-range: exit-crossing -64px exit-crossing calc(-64px+100%);
I use simple markup like the following tailwind-esque to create a little playground:
I have a
position: sticky
type of interface I'm building with this. It's relatively simple but I want to clip the contents of the non-sticky container when it goes past a threshold on theexit-crossing
bounds.I use simple markup like the following tailwind-esque to create a little playground:
This works flawlessly in Chrome, but in Safari it clips it way too early and incorrectly. I'm assuming this might be due to
position: sticky
?Safari Example
Screen.Recording.2024-10-18.at.4.55.37.PM.mov
The text was updated successfully, but these errors were encountered: