Enable a button after scrolling to the bottom of the webview

Manickam, Suraj 220 Reputation points
2024-04-25T16:11:38.03+00:00

I am trying to enable a button when the user has scrolled to the bottom of a webview , i tried using navigated , it does not work. In xamarin, we used a customRenderer to achieve this , Can we do this in a simpler way in MAUI?

Platform : Android , IOS

Version : MAUI 8

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,900 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Yonglun Liu (Shanghai Wicresoft Co,.Ltd.) 35,806 Reputation points Microsoft Vendor
    2024-04-26T02:48:56.96+00:00

    Hello,

    it does not work. In xamarin, we used a customRenderer to achieve this , Can we do this in a simpler way in MAUI?

    MAUI currently does not provide an API for listening to the scroll position in WebView, so it is more recommended to reuse the Renderer or migrate it to MAUI's Handler to fulfill this requirement.

    Please refer to the following documentations:

    Best Regards,

    Alec Liu.


    If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    0 comments No comments