-
Notifications
You must be signed in to change notification settings - Fork 4.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Block Editor: Allow disabling moving animations #67808
Comments
Hi, @Pixelous Can you share a screencast to show which animations we are talking about? Thanks |
@Mamaduka please see attached video: Page-No-Title-.-Template-.-wordpress-local-.-Editor-.-WordPress.webmIt is
Kind regards |
Thanks for the screencast, @Pixelous! Currently, it's not possible to disable block movement animation. Have you tried turning off animation for the Masonry library and using the ones provided by Block Editor? |
Is the video you shared the built-in one? Why is it not good? |
@Mamaduka ok, got it. I have not installed the Masonry library yet, trying to learn React. |
@ellatrix sorry, not sure what you mean, built-in animation? |
Hi,
I made a copy of gallery block as a custom block to use it for a masonry layout https://masonry.desandro.com/
Before setting it up I was trying to disable moving images animation because masonry plugin uses its own animation based on absolute positioning.
What I have found so far
useMovingAnimation
functiongutenberg/packages/block-editor/src/components/use-moving-animation/index.js
Line 46 in 467e4a2
It is possible somehow to disable the moving animation for a custom block?
Kind regards
The text was updated successfully, but these errors were encountered: