-
Notifications
You must be signed in to change notification settings - Fork 15
Open
Description
Use case:
There is a fixed button on bototm of the screen that scrolls into a View when pressed on. However, I want to hide that button if the element has already been scrolled to manually. Is there a way to see if my element is already at the current scroll position?
My code:
<CustomScrollView>
<ScrollIntoView>
<View> {/* MyElement */}
...
</View>
</ScrollIntoView>
</CustomScrollView>
<FloatingButton hidden={/* I want to check here if MyElement is already scrolled to}>Scroll to View</FloatingButton>
Thanks
Metadata
Metadata
Assignees
Labels
No labels