Coder Social home page Coder Social logo

Comments (6)

TheAnkurPanchani avatar TheAnkurPanchani commented on July 29, 2024

@mamonraab : Hi, Could you please provide a main.dart file with reproducible minimal code sample?

from card_swiper.

mamonraab avatar mamonraab commented on July 29, 2024

@TheAnkurPanchani after double check the problem , it happened when i use the slider inside a screen that is inside the TabBarView() , when i remove it from there it work but i want to keep using the TabBarView coz it is a big part on my app
it is a large news app i will try to memic the problem and send a simple code

from card_swiper.

mamonraab avatar mamonraab commented on July 29, 2024

@TheAnkurPanchani here is a link for the problem , as mentioned when putting the swiper with my costum layout
is not working https://github.com/mamonraab/card_swiper_problem_demo

from card_swiper.

mamonraab avatar mamonraab commented on July 29, 2024

@TheAnkurPanchani also to mention this happen when using customLayoutOption while using default settings work nice

from card_swiper.

mamonraab avatar mamonraab commented on July 29, 2024

any update ??

from card_swiper.

TheAnkurPanchani avatar TheAnkurPanchani commented on July 29, 2024

I found cause of the problem in already opened issue under flutter repo. Here is the link,
flutter/flutter#59555

If you want swiper takes all the swipe gestures and doesn't want swipes to change tab views then you can use suggestion mentioned in the comment, Here is the link,
flutter/flutter#59555 (comment)

Try setting physics: NeverScrollableScrollPhysics(), in TabBarView

child: TabBarView(
  physics: const NeverScrollableScrollPhysics(),
  children: [

from card_swiper.

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.