.NET MAUI CollectionView VerticalScrollBarVisibility is not visible on Android devices.

Bhuwan 886 Reputation points
2024-03-26T09:55:50.0866667+00:00

I'm encountering an issue with the CollectionView where 'VerticalScrollBarVisibility="Always"' is set. While the vertical scroll bar is visible in iOS, it's not functioning on Android devices. Could you suggest a handler patch to display the scroll bar on Android devices?

Developer technologies | .NET | .NET MAUI
0 comments No comments
{count} votes

Accepted answer
  1. Yonglun Liu (Shanghai Wicresoft Co,.Ltd.) 50,126 Reputation points Microsoft External Staff
    2024-03-27T02:44:44.79+00:00

    Hello,

    This is a known issue of MAUI on the Android platform, please refer to CollectionView shows no ScrollBar #11369 for more details.

    For the solution, you can refer to the questioner's own answer under Scroll bar indicator in Scroll View, Collection View , List View. After testing, this solution works for any scroll view in the Android platform.

    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

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.