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
RiverStoryScroll applies a negative margin of -20vh to enable the animation effect. When animations are disabled through the disabled prop however, there is no need to apply the relevant CSS.
Reproduction steps
Add disabled prop to the RiverStoryScroll component, ideally with content that appears before it
Observe the effect is disabled
Observe the CSS of margin-top: -2vh has been applied
If tested with preceding content, the RiverStoryScroll will overlap with that content
Expected behavior
The negative margin should only apply when the disabled flag is false.
Screenshots
Browsers
No response
OS
No response
The text was updated successfully, but these errors were encountered:
Describe the bug
RiverStoryScroll applies a negative margin of
-20vh
to enable the animation effect. When animations are disabled through thedisabled
prop however, there is no need to apply the relevant CSS.Reproduction steps
disabled
prop to the RiverStoryScroll component, ideally with content that appears before itmargin-top: -2vh
has been appliedExpected behavior
The negative margin should only apply when the disabled flag is false.
Screenshots
Browsers
No response
OS
No response
The text was updated successfully, but these errors were encountered: