Coder Social home page Coder Social logo

Infinite loop about ionic-super-tabs HOT 12 OPEN

zyra avatar zyra commented on August 25, 2024
Infinite loop

from ionic-super-tabs.

Comments (12)

ihadeed avatar ihadeed commented on August 25, 2024 4

@grimace

oh, so like the loop option on ion-slides ?

There isn't an option for that right now. I should be able to implement it in the near future.

from ionic-super-tabs.

darron1217 avatar darron1217 commented on August 25, 2024 1

@ihadeed I'm expecting for loop option too!
Anyway, thank you for this beautiful plugin :)

from ionic-super-tabs.

Foxion7 avatar Foxion7 commented on August 25, 2024 1

@ihadeed Is there any news on this?

from ionic-super-tabs.

ihadeed avatar ihadeed commented on August 25, 2024

Not sure what you mean by wrap around left or right

from ionic-super-tabs.

grimace avatar grimace commented on August 25, 2024

If I have 5 tabs and I get to the far left and swipe left, go to the one on the far right. i.e. tab4<-tab0 or tab4->tab0. or like 4,0,1,2,3,4,0.

from ionic-super-tabs.

ihadeed avatar ihadeed commented on August 25, 2024

Sorry @grimace, I'm still not able to understand your question.

Could you please demonstrate it with a video? or provide an example?

from ionic-super-tabs.

grimace avatar grimace commented on August 25, 2024

Sorry for the confusion. How about this?
Let's say you have 3 tabs; Tab1, Tab2, Tab3.

  1. Starting from the left ( Tab1 )
  2. Swipe right to Tab2
  3. Swipe right to Tab3
  4. Continue to swipe right from Tab3 - currently, nothing happens ( of course you could go back the other way, but not what I was looking for )
  5. What I'm interested in is the ability to swipe right from Tab3 ( wrapping back around ) to Tab1. So that you could actually continuously swipe in one direction forever ( or until you get tired of the exercise).

from ionic-super-tabs.

grimace avatar grimace commented on August 25, 2024

Yes, exactly what I was looking for. Also like to express my gratitude. Great project. Thanks!

from ionic-super-tabs.

NgYueHong avatar NgYueHong commented on August 25, 2024

Really hope to see this feature implemented soon. Although, it's been almost 2 years old request already.

from ionic-super-tabs.

ihadeed avatar ihadeed commented on August 25, 2024

@NgYueHong I'll try to implement this if it performs well. The new super tabs is based on a flex box .. so it should be easier to move the tabs around and give the user the feeling of an infinite loop.

from ionic-super-tabs.

rajabmohammadi avatar rajabmohammadi commented on August 25, 2024

@ihadeed
I work on ionic 4 application
but when I loop the super-tab-button and super-tab
I have this error :
core.js:15723 ERROR Error: Uncaught (in promise): TypeError: Cannot set property 'active' of undefined TypeError: Cannot set property 'active' of undefined at SuperTabsToolbarComponent.push../node_modules/@ionic-super-tabs/core/dist/esm/legacy/super-tab-button_2.entry.js.SuperTabsToolbarComponent.markButtonActive (super-tab-button_2.entry.js:249)

from ionic-super-tabs.

NgYueHong avatar NgYueHong commented on August 25, 2024

@ihadeed It's great to see that Ionic 4 is now officially supported and I am really looking forward to see this feature implemented soon. With this feature, it will be a HUGE UPGRADE to this plugin that the plugin will be able to be used for infinite page swiping. Just like Gmail app, where user can just continuously swipe to view the next email. Just imagine how much more useful this plugin will be with the implementation of infinite loop feature.

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.