question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[Motion] Unify `motionPreset` across components

See original GitHub issue

At the moment, only the Modal component uses the motionPreset prop to allow users to change the motion type of the modal, or even disable it.

We want to support this prop in all motion related components, namely Popover and Tooltip.

Benefits

  • For those who don’t want the animations, they can disable it by passing motionPreset="none"
  • For those who want to try different motion/transitions, they can use motionPreset="slideIn" | "scale" | "fade"

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Reactions:2
  • Comments:8 (3 by maintainers)

github_iconTop GitHub Comments

2reactions
georgekraxcommented, Jan 31, 2022

We should be able to modify the animation altogether, not just change its direction. What would happen if I wanted to have a custom animation on the <Drawer /> component for example?

1reaction
gleknercommented, Oct 4, 2021

Please implement this

Read more comments on GitHub >

github_iconTop Results From Across the Web

UniFi Protect - Manage motion detection and privacy zones
This article describes how to set camera zones and configure motion detection behavior on your UniFi Protect system. Camera zones overview; Set up...
Read more >
Animate InDesign objects in your documents - Adobe Support
Motion presets are pre-made animations that you can apply to objects quickly. Use the Animation panel to apply motion presets and change ...
Read more >
4 Great Circle Burst Motion Graphics in After Effects - YouTube
Check out our 1400+ Motion Graphics Pro Pack: https://bit.ly/1400MotionPack Over 1400+ elements for After Effects from titles, backgrounds, ...
Read more >
Presets - Unity - Manual
Presets. Presets are assets that you can use to save and apply identical property settings across multiple components, assets, or Project Settings windows....
Read more >
Making Motion Tracking - Wondershare Filmora
It helps to create a stored motion template. You can transfer that motion template to an animation. You can keep the elements you...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found