Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Transtion is working incorrectly when navPush #13456

Closed
xinhaoxx opened this issue Nov 18, 2017 · 4 comments
Closed

Transtion is working incorrectly when navPush #13456

xinhaoxx opened this issue Nov 18, 2017 · 4 comments
Labels
ionitron: v3 moves the issue to the ionic-v3 repository

Comments

@xinhaoxx
Copy link

Ionic version:
(For Ionic 1.x issues, please use https://github.com/ionic-team/ionic-v1)
[ ] 2.x
[x] 3.x
[ ] 4.x

I'm submitting a ...
[x] bug report
[] feature request

Current behavior:
My English is not very good, so may have some mistakes.

When I have two ion-content in the page and place them horizontally inside an ion-content, there is a problem when I navPush the page. ion-header and ion-footer's transition are working correctly (slide in from right to left) except the inner ion-content.

But this problem doesn't show in the last ion-content.

Why I use ion-content instead of ion-scroll because ion-refresher and ion-infinite-scroll must be placed in ion-content.

I don't want to use ion-tab because it will change my url.

It also happen when i remove ion-sliders

Expected behavior:
ion-content can work correctly like ion-header and ion-footer, not just staying there without transition.

Steps to reproduce:

Related code:

<ion-header>

  <ion-navbar>
    <ion-title>demo</ion-title>
  </ion-navbar>

</ion-header>


<ion-content no-bounce>
  <ion-slides class="slides-tabs">
    <ion-slide>
      <ion-content>

        <ion-list>
          <button ion-item *ngFor="let item of items" navPush="detail">
            {{ item }}
          </button>
        </ion-list>

      </ion-content>
    </ion-slide>

    <ion-slide>
      <ion-content>

        <ion-list>
          <button ion-item *ngFor="let item of items" navPush="detail">
            {{ item }}
          </button>
        </ion-list>

      </ion-content>
    </ion-slide>
  </ion-slides>

</ion-content>


<ion-footer>

  <ion-toolbar>
    <ion-title>footer</ion-title>
  </ion-toolbar>

</ion-footer>

Other information:
https://ww3.sinaimg.cn/large/0060lm7Tly1flmbi4hythg30af0ij1jz.gif

Ionic info: (run ionic info from a terminal/cmd prompt and paste output below):

cli packages:

    @ionic/cli-utils  : 1.18.0
    ionic (Ionic CLI) : 3.18.0

local packages:

    @ionic/app-scripts : 3.0.1
    Ionic Framework    : ionic-angular 3.9.2

System:

    Node : v8.1.2
    npm  : 5.0.3
    OS   : Windows 10
@kensodemann
Copy link
Member

Hello! Thank you for opening an issue with us!

I have marked this as something to have a look at after the Ionic v4 release is completed. In the meantime, would it be possible for you to create a sample app that demonstrates this issue and post it to GitHub?

Thank you for using Ionic

@kensodemann kensodemann added this to the 4.x milestone Nov 21, 2017
@xinhaoxx
Copy link
Author

xinhaoxx commented Nov 22, 2017

@kensodemann Thanks for your response, here is a sample app (https://github.com/ETXIN/ionic-issue-13456-sample).

@paulstelzer paulstelzer added the ionitron: v3 moves the issue to the ionic-v3 repository label Dec 8, 2018
@ionitron-bot
Copy link

ionitron-bot bot commented Dec 8, 2018

Thanks for the issue! We have moved the source code and issues for Ionic 3 into a separate repository. I am moving this issue to the repository for Ionic 3. Please track this issue over there.

Thank you for using Ionic!

@ionitron-bot
Copy link

ionitron-bot bot commented Dec 8, 2018

Issue moved to: ionic-team/ionic-v3#911

@ionitron-bot ionitron-bot bot closed this as completed Dec 8, 2018
@ionitron-bot ionitron-bot bot locked and limited conversation to collaborators Dec 8, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
ionitron: v3 moves the issue to the ionic-v3 repository
Projects
None yet
Development

No branches or pull requests

3 participants