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

autoplayDisableOnInteraction not working then layout is SwiperLayout.STACK #100

Open
Xgamefactory opened this issue Jul 3, 2019 · 3 comments

Comments

@Xgamefactory
Copy link

when commenting out layout stack property autoplayDisableOnInteraction works as expected.

 return Swiper(
      autoplayDisableOnInteraction: true,
      autoplayDelay: 1000,
      viewportFraction: 0.8,
      itemBuilder: (BuildContext context, int index) {
        return _pageViewContent(widget.imgList[index]);
        // return new Image.network("http://via.placeholder.com/350x150",fit: BoxFit.fill,);
      },
      itemCount: widget.imgList.length,
      autoplay: true,

      // itemWidth: 370.0, layout: SwiperLayout.STACK,
      // pagination: SwiperCustomPagination(
      pagination: SwiperPagination(
        margin: EdgeInsets.only(top: 10),
        builder: DotSwiperPaginationBuilder(
            color: Colors.grey, activeColor: AppConfig.accentColor),
      ),
      // control: SwiperControl(),
    );
@Xgamefactory
Copy link
Author

we dont get any errors in output it autoplay just not pausing that is all
so it has no relation with referenced issue.

@sgehrman
Copy link

same issue. please fix

@SriRam-Macha
Copy link

same issue. please fix

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants