Can something similar to the code for All Apps list context menu bounds checking be used to enhance the "barn door" transition animations so items near the top of the visible area (plus a little outside of it vertically and likely stuff horizontally) start animating before items lower on the page then the thing that was tapped gets animated last, emulating how WP does it?
DrewNaylor opened this issue · comments
We'll have to keep track of the pressed item so that it's animated last though. I'm trying to figure out a reasonable way to divide the visible area plus stuff a little outside that in a way that's efficient, maybe dividing in it tenths? Twentieths? Twenty-fourths so it's divisible by 6? Something.
Anyway, each item will have to round in some way to each divider, perhaps rounding up? Or maybe rounding down? I don't know.
And then I don't know if the transition is different as you go horizontally, or if stuff just doesn't have to travel as far. All I know is that stuff towards the top of the screen goes before stuff toward the bottom on WP, but I don't remember where I learned that. I think that also affects controls like buttons when they're pressed down, but I don't like that idea so I won't add it.