[BUG] Components wrapped in motion
don't pass props starting with "drag"
#2637
Labels
bug
Something isn't working
motion
don't pass props starting with "drag"
#2637
1. Read the FAQs 馃憞
2. Describe the bug
When wrapping a component in
motion
, it causes props starting withdrag
to not be passed to the underlying wrapped component.3. IMPORTANT: Provide a CodeSandbox reproduction of the bug
Codesandbox repro
4. Steps to reproduce
Steps to reproduce the behavior:
drag
isn't being passed to wrapped component5. Expected behavior
For props that start with
drag
to get passed to wrapped componentsThe text was updated successfully, but these errors were encountered: