• Changed Files
  • packages/core/src/interactions/Tossable.ts

[changed] Tossable to only use draggedLocation$ when spring is disabled
ClosedPublic

Authored by appsforartists on Mon, Sep 11, 10:02 PM.

Details

Summary

This enables authors to take control of whether draggable or spring is in control. For instance, in Swipeable, we want the spring to override the drag for part of the interaction.

Diff Detail

Repository
R13 material-motion/material-motion-js
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
Restricted Application added a reviewer: O2: Material Motion. · View Herald TranscriptMon, Sep 11, 10:03 PM
Restricted Application added a project: Material Motion. · View Herald Transcript
Restricted Application added a reviewer: O3: Material JavaScript platform reviewers. · View Herald Transcript
Restricted Application added a reviewer: Material Motion. · View Herald Transcript

arc crashed during upload; trying again

Restricted Application failed to build Restricted Buildable!Mon, Sep 11, 10:24 PM
Restricted Application failed to build Restricted Buildable!
appsforartists edited the summary of this revision. (Show Details)Tue, Sep 19, 6:50 PM
featherless accepted this revision.Wed, Sep 20, 6:03 PM
This revision is now accepted and ready to land.Wed, Sep 20, 6:03 PM
This revision was automatically updated to reflect the committed changes.