Frame-batched event handlers. This means external event handlers are now batched on the next animation frame, allowing React to correctly batch state updates.
[10.0.2] 2023-03-05
Fixed
Fixing "Non-numeric offset" error in older browsers.
[10.0.1] 2023-02-27
Changed
Reducing keyframe pregeneration duration by 75%.
[10.0.0] 2023-02-24
Added
background-color animations are now hardware accelerated.
Removed
Removing fallback for IntersectionObserver. Use a polyfill for support in older browsers.
Removed DeprecatedLayoutGroupContext.
Changed
Using exitBeforeEnter with AnimatePresence now throws an error.
Using value.onChange will now throw a warning with instructions to change to value.on("change", callback).
Using AnimateSharedLayout now throws an error.
Fixed
repeat: Infinity no longer de-opts from pre-generated WAAPI animations.
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Bumps framer-motion from 9.0.2 to 10.1.0.
Changelog
Sourced from framer-motion's changelog.
... (truncated)
Commits
b18c4cf
v10.1.088a7f76
Merge pull request #1988 from framer/fix/async-event-handlers4f20da6
Fixing tests0d06abf
Fixing testsd9d94e2
Making event handlers async to allow React to batch state39c8a54
Increasing size limits01efab8
Lockfileb3a4c03
v10.0.2f4e15a5
Tidy1d1afca
fix: provide offset param conditionally if defined for Element.animate (#1991)Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)