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 am trying to access the onScroll event in a scrollable component to detect the current scroll offset. My use case involves a PDF file containing a terms and conditions document, and I need to detect how far the user has scrolled through the document. Once the user reaches the bottom and fully scrolls through the PDF, a "Next" button should appear.
However, with the current props available, I can only detect which page the user is on, and I'm unable to determine if the scroll has fully reached the end of the content.
Is there any solution or workaround for this?
The text was updated successfully, but these errors were encountered:
currently as a temporary solution to decide that the user has gone through all document pages, I have enabled the paging with the property enablePaging and when the user reaches the final page I can make sure that he has gone through all the document pages and I can show the hidden next-button
Hi,
I am trying to access the onScroll event in a scrollable component to detect the current scroll offset. My use case involves a PDF file containing a terms and conditions document, and I need to detect how far the user has scrolled through the document. Once the user reaches the bottom and fully scrolls through the PDF, a "Next" button should appear.
However, with the current props available, I can only detect which page the user is on, and I'm unable to determine if the scroll has fully reached the end of the content.
Is there any solution or workaround for this?
The text was updated successfully, but these errors were encountered: