Skip to content
This repository was archived by the owner on May 4, 2022. It is now read-only.
This repository was archived by the owner on May 4, 2022. It is now read-only.

*ngFor on ion-item or div deactivates y-axis scroll in ion-segment or any tab component #331

@ionitron-bot

Description

@ionitron-bot

Original issue by @JamesHarvey2 on 2017-12-26T14:57:46Z

Hello, I found a big issue when using ion-segment.

I'm populating a page of ion-segment with ion-items which is getting item data from data provider.
The issue is when items are populated from data provider, it looks like it automatically deactivates y-axis scroll. This only happens when I do this within ion-segment's page.
Is there any way to fix this problem? This is apparently a bug in Ion-segment.

<div ngSwitchCase="'segmentPage04'">
 <div  *ngFor="let item of items">  
                                
                                     <ion-item>
                                       <button tappable  (click)="navigate()" id="item-button">
                                    
                                        <h4><strong>{{item.title}}</strong></h4>
                                        <p>{{item.description}} </p> 
                  
                                     
                                        </button>
                                         
                                      </ion-item>

                              </div>

</div>

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions