Something went wrong. Try again.
[READ-ONLY] Mirror of https://github.com/okikio/solid-motion-experiments.
Something went wrong. Try again.
Motion Animation Priority Model (Draft) #
Purpose #
Define first-pass target priority ordering and open conflict rules for Milestone 0.
Proposed Priority Stack #
Low -> High
- base style
- initial
- animate / variants
- whileInView
- whileFocus
- whileHover
- whileTap
- whileDrag / active drag ownership
- layout projection
- 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.