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
I tested your ibrary but couldn't do what I had in mind and I don't know if it supports this usecase.
I'd like to have a sticky header (same behavior that css sticky -> so your Sticky component) and have a secondary bar with StickyScrollUp component but which doesn't push the Sticky components to the bottom on scroll up but instead scroll until it sticks to the bottom of the currently active Sticky component (and if no Sticky component is on screen), scroll until it sticks to the top of the page.
Is that supported ?
I could have the behavior I want by only using a StickyScrollUp components and a css sticky header but I'd need to set a props so the StickyScrollUp component scroll untils it reaches the bottom of my header. We could maybe add a props to set the sticky distance from the top on scroll up.
Also I noticed that on the demo page, when you scroll enough to make the StickyScrollUp disappear, the first scroll event doesn't make the StickyScrollUp to appear but it appears only on the second scroll.
The text was updated successfully, but these errors were encountered:
@trompx Even though I am not 100% sure if I understand you completely, I can tell there is no support to stick content to the bottom of the page as of now. I am also not sure how much effort this would be to implement, could introduce quite a few edge cases. But feel free to create a PR to implement this feature, so we can discuss if the overhead it would add is worse to the library.
Hello @garthenweb,
I tested your ibrary but couldn't do what I had in mind and I don't know if it supports this usecase.
I'd like to have a sticky header (same behavior that css sticky -> so your Sticky component) and have a secondary bar with StickyScrollUp component but which doesn't push the Sticky components to the bottom on scroll up but instead scroll until it sticks to the bottom of the currently active Sticky component (and if no Sticky component is on screen), scroll until it sticks to the top of the page.
Is that supported ?
I could have the behavior I want by only using a StickyScrollUp components and a css sticky header but I'd need to set a props so the StickyScrollUp component scroll untils it reaches the bottom of my header. We could maybe add a props to set the sticky distance from the top on scroll up.
Also I noticed that on the demo page, when you scroll enough to make the StickyScrollUp disappear, the first scroll event doesn't make the StickyScrollUp to appear but it appears only on the second scroll.
The text was updated successfully, but these errors were encountered: