Giter VIP home page Giter VIP logo

Comments (8)

Nico04 avatar Nico04 commented on July 17, 2024 11

I found a workaround : just assign a new ScrollController to the scrollController parameter :
ReorderableColumn( scrollController: ScrollController() )

from reorderables.

kwent avatar kwent commented on July 17, 2024 5

@hanshengchiu Still happening on 56578ad even after #48

from reorderables.

Nico04 avatar Nico04 commented on July 17, 2024 3

Unfortunately I will not take the time to make a pull request, if that's what you were waiting for, I'll wait for your bugfix.
Thanks 😉

from reorderables.

amitkhairnar44 avatar amitkhairnar44 commented on July 17, 2024 1

@Nico04 Thank you for explaining this. Waiting for the pull request to get merged

from reorderables.

Nico04 avatar Nico04 commented on July 17, 2024

I've got the same issue (with ReorderableColumn) with a more complexe project, but I found out that it occurs only when there are other scroll widget in the tree.
Weither it's a ListView, a SingleChildScrollView...

I've edited the end of your ColumnExample2 to help you fix this issue :

return Material(
      child: Card(
        child: Column(
          children: <Widget>[
            reorderableColumn,
            SingleChildScrollView(
              child: Text('r'),
            )
          ],
        )
      ),
      elevation: 6.0,
      color: Colors.transparent,
      borderRadius: BorderRadius.zero,
    );

from reorderables.

Nico04 avatar Nico04 commented on July 17, 2024

I've juste realized that the same error (ScrollController attached to multiple scroll views) happens in the same way with Flutter/ReorderableListView.

This may help you resolve it
flutter/flutter#31666

from reorderables.

Nico04 avatar Nico04 commented on July 17, 2024

This error occured again on a new project, but this time in the 3 levels deep nested list.
My workaround works fine for level 2.
Without the workaround, it doesn't work at all on level 3, and with it it works most of the time for in some undefined cases it crash again...
Any clues ?

from reorderables.

harjindersinghbobby avatar harjindersinghbobby commented on July 17, 2024

I found a workaround : just assign a new ScrollController to the scrollController parameter :
ReorderableColumn( scrollController: ScrollController() )

thanks this works for me

from reorderables.

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.