https://codesandbox.io/s/framer-motion-reorder-animation-bvi...
I don't trust the implementation of observers, usually in Safari, to reliably recreate this effect. I'm not sure it's even specced.
Would you mind if I asked a few questions?
- does your device have remote debugging enabled on Safari?
- was your phone in low-power mode?
- did you first access the site through a WebKit in-app browser panel before opening it Safari?
- what version of iOS?
- what model of iPhone?
Those are my leading theories for what contributes to the flash happening. If you force quit and restart safari and / or reboot your phone does it work as expected?
Do you mean “Web Inspector”? Yes.
> - was your phone in low-power mode?
No.
> - did you first access the site through a WebKit in-app browser panel before opening it Safari?
No.
> - what version of iOS?
15.2
> - what model of iPhone?
13 Pro Max
I did force quit Safari and I no longer see the brief flash of target state when adding items to lists. But I didn’t check if I saw that immediately before doing force quit, sorry. I’ll write if I ever see that again.
Is there a way for the library to eliminate this “blink”? Or is this behavior unavoidable with current one liner approach?