nativescript-ui-feedback icon indicating copy to clipboard operation
nativescript-ui-feedback copied to clipboard

RadListView - hide/show scroll bar (indicator)

Open bzaruk opened this issue 6 years ago • 9 comments

Hi,

on IOS I want to hide the scroll bar (indicator), how can I do that? it seems like in android there is no scroll bar by default, so it would be also nice to know how to set an scroll bar on android.

Thanks a lot! :)

bzaruk avatar Jul 26 '18 22:07 bzaruk

+1

praveshkhatana avatar Aug 22 '18 21:08 praveshkhatana

Any update on this?

sagar1911 avatar Aug 31 '18 14:08 sagar1911

+1

Burgov avatar Sep 03 '18 18:09 Burgov

Any update on this?

sagar1911 avatar Sep 04 '18 06:09 sagar1911

While this is not implemented you could use this code below:

<GridLayout rows="54" columns="*">
    <RadListView [items]="items" class="list-view" (itemTap)="onTap($event)" (loaded)="onLoaded($event)">
        <ng-template tkListItemTemplate let-item="item">
           ...
        </ng-template>
        <ListViewLinearLayout tkListViewLayout scrollDirection="Horizontal"></ListViewLinearLayout>
    </RadListView>
</GridLayout>

onLoaded(e) {
        if (isIOS) {
            e.object.ios.collectionView.showsHorizontalScrollIndicator = false;
            e.object.ios.collectionView.showsVerticalScrollIndicator = false;
        }
    }

danielgek avatar May 16 '19 13:05 danielgek

try this: scrollBarIndicatorVisible="false"

gadiandem avatar Sep 16 '19 16:09 gadiandem

try this: scrollBarIndicatorVisible="false"

Unfortunately it's just working on RadListView and Not on regular ListView.

mehdinourollah avatar Mar 02 '20 11:03 mehdinourollah

Do we still not have support in ListView?

sido420 avatar Jan 11 '21 04:01 sido420

try this: scrollBarIndicatorVisible="false"

I don't know if it's because I'm using RadListView with horizontal scrolling or anything else but is does not work for me on iOS. The correct solution is the one above.

sebj54 avatar Aug 18 '21 13:08 sebj54