Coder Social home page Coder Social logo

Comments (8)

ihadeed avatar ihadeed commented on July 23, 2024

Thanks for reporting this. I will experiment with something similar to this and try to find a solution.

from ionic-super-tabs.

justiceo avatar justiceo commented on July 23, 2024

horizontal ion-scroll doesn't work either

from ionic-super-tabs.

ihadeed avatar ihadeed commented on July 23, 2024

@justiceo

I tried reproducing this while working on V2 (#14) with no luck. Not sure if I did something that fixed it or I'm just unable to reproduce the issue.

I put the following code in one of the child pages (one of the tabs):

  <ion-slides slidesPerView="5">
    <ion-slide>
      <span class="color blue"></span>
    </ion-slide>
    <ion-slide>
      <span class="color red"></span>
    </ion-slide>
    <ion-slide>
      <span class="color yellow"></span>
    </ion-slide>
    <ion-slide>
      <span class="color blue"></span>
    </ion-slide>
    <ion-slide>
      <span class="color red"></span>
    </ion-slide>
    <ion-slide>
      <span class="color yellow"></span>
    </ion-slide>
    <ion-slide>
      <span class="color blue"></span>
    </ion-slide>
    <ion-slide>
      <span class="color red"></span>
    </ion-slide>
    <ion-slide>
      <span class="color yellow"></span>
    </ion-slide>
  </ion-slides>
ion-slides {
    height: 80px;

    ion-slide span.color {

      display: block;
      height: 50px;
      width: 50px;

      max-width: 100%;
      border-radius: 500rem;

      &.blue {
        background: blue;
      }

      &.red {
        background: red;
      }

      &.yellow {
        background: yellow;
      }

    }
  }

I tested this on the browser and on an Android device. Didn't experience any unexpected behaviour. I will try ion-scroll too in a bit.

from ionic-super-tabs.

justiceo avatar justiceo commented on July 23, 2024

@ihadeed sorry I didn't notice you responded to this earlier.
I pushed an example code to https://github.com/justiceo/super-tabs-example
The last two commits demonstrate the issues with ion-slide and ion-scroll.
And this is using the previous release of super-tabs, so yes it's possible that these problems have been fixed by now.

from ionic-super-tabs.

ihadeed avatar ihadeed commented on July 23, 2024

@justiceo could you please test it with the new version and let me know if you're still experiencing issues?

from ionic-super-tabs.

justiceo avatar justiceo commented on July 23, 2024

I just did and everything worked perfectly for both ion-slide and ion-scroll! Great work and thanks!

from ionic-super-tabs.

ihadeed avatar ihadeed commented on July 23, 2024

Thanks for the update @justiceo !

from ionic-super-tabs.

Chethannp avatar Chethannp commented on July 23, 2024

@justiceo - Can you please share your code, I am still not able to use ion-scroll inside supertabs!

from ionic-super-tabs.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.