solid-motion-experiments docs research motion-animation-priority-model.md
1.1 kB · 32 lines
Markdown
at main

Motion Animation Priority Model (Draft) #

Purpose #

Define first-pass target priority ordering and open conflict rules for Milestone 0.

Proposed Priority Stack #

Low -> High

  1. base style
  2. initial
  3. animate / variants
  4. whileInView
  5. whileFocus
  6. whileHover
  7. whileTap
  8. whileDrag / active drag ownership
  9. layout projection
  10. exit

Initial Conflict Rules #

  • Higher-priority target can override same value channels from lower-priority target.
  • Drag owns position channels while active.
  • Exit becomes terminal priority once logical removal begins.
  • On higher-priority release, lower-priority target should resume from current value/velocity (not hard reset).

Required Research/Proof Questions #

  • Should exit always win immediately on removal?
  • How hover/tap/focus conflicts compose under nested interactive nodes?
  • Should resumed lower-priority animations restart or continue from sampled value?
  • How are parent/child variant priorities merged in Solid context?

Milestone 0 Output #

Document conflict-resolution decisions with prototype evidence, then freeze MVP subset for Milestone 1.