shibro
Show the version of “Change your mind halfway and it follows”

Motion · SU-75 · SU-76 · SU-77

Change your mind halfway and it follows

Flip between the version shibroUI flags and the one it ships. The marks and callouts show what changes. Toggle it twice quickly, or press “Interrupt mid-open” to open it and close it again while it is still moving.

  • Close mid-open jumps to fully open
  • Close mid-open reverses in place
  • Open and close @keyframes · 300ms x2
  • Open and close transition · 300ms

What changes

Bad
Two one-shot @keyframes of 300ms: close it mid-open and it jumps to fully open first.
Good
One 300ms transition retargets from where the panel is, so closing mid-open turns it back.

The rules

  • SU-75

    Sidebar. Reversible motion follows the current visible state.

  • SU-76

    Bottom sheet. Reversible motion follows the current visible state.

  • SU-77

    Popover. Reversible motion follows the current visible state.