You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Give a clear and concise description of what the bug is.
3. IMPORTANT: Provide a CodeSandbox reproduction of the bug
Unable to due to closed-source
A CodeSandbox minimal reproduction will allow us to quickly follow the reproduction steps. Without one, this bug report won't be accepted.
4. Steps to reproduce
Steps to reproduce the behavior:
Go to the Shared layout animations at https://www.framer.com/docs/examples/ . You will see the sample code is isSelected ? <motion.div layoutId="underline" /> : null
Go to the Shared layout animations at https://www.framer.com/docs/animation/ . You will see the sample code is isSelected && <motion.div layoutId="underline" /> : null
5. Expected behavior
It is expected the ternary statement looks like the below.
isSelected && <motion.div layoutId="underline" />
or
1. Read the FAQs 馃憞
2. Describe the bug
Typo in close-source docs website.
So the issue is a small typo in https://www.framer.com/docs/examples/ , 'Shared layout animations'. and https://www.framer.com/docs/animation/ , in the 'Shared layout animations'. The sample code is not the same.
Give a clear and concise description of what the bug is.
3. IMPORTANT: Provide a CodeSandbox reproduction of the bug
Unable to due to closed-source
A CodeSandbox minimal reproduction will allow us to quickly follow the reproduction steps. Without one, this bug report won't be accepted.
4. Steps to reproduce
Steps to reproduce the behavior:
isSelected ? <motion.div layoutId="underline" /> : null
isSelected && <motion.div layoutId="underline" /> : null
5. Expected behavior
It is expected the ternary statement looks like the below.
isSelected && <motion.div layoutId="underline" />
or
isSelected ? <motion.div layoutId="underline" /> : null
A clear and concise description of what you expected to happen.
6. Video or screenshots
If applicable, add a video or screenshots to help explain the bug.
7. Environment details
If applicable, let us know which OS, browser, browser version etc you're using.
The text was updated successfully, but these errors were encountered: