Skip to content

What are animation and CSSTransform properties of store.register() #736

Answered by jalal246
ddenev asked this question in Q&A
Discussion options

You must be logged in to vote

I don't know if it's documented on the site, but it's somehow documented in TypeScript (which is not enough).

By default, there's an ease-in animation, and the duration is dynamically calculated based on the distance between the dragged and the targeted element.

CSSTransform instructs DFlex to apply this class or style during the transformation.

To disable animation, you have to pass animation:null. Therefore, I am disabling it when it's running in a CI environment for the sake of testing. If you disable animation, then CSSTransform will be ignored.

EDIT: I checked the docs and it's not documented. 😞

type CubicBezier =
  | "ease"
  | "ease-in"
  | "ease-out"
  | "ease-in-out"
  | "linear";

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@ddenev
Comment options

@jalal246
Comment options

@ddenev
Comment options

Answer selected by ddenev
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants