material-motion-archive / starmap

Issue tracker for the starmap
https://material-motion.github.io/material-motion/
4 stars 0 forks source link

Make gestureRecognizer a required property on all direct manipulable plans #77

Open jverkoey opened 7 years ago

jverkoey commented 7 years ago

The goal of this proposal is to remove implicit gesture recognizers from the direct manipulation family. This means creators must provide the relevant gesture recognizer to the plan as they arrive.

The intent of this proposal is to increase clarity and to reduce "magic" in the system.

What this proposal would like to make no longer possible:

Draggable()

What this proposal would like to continue allowing:

Draggable(withPanGestureRecognizer: pan)