Giter Site home page Giter Site logo

Comments (5)

brianegan avatar brianegan commented on July 19, 2024

Hey hey :) Sorry, back from a trip! Hrm, that's definitely an interesting case. Lemme see if I can write a couple test cases run into the same problem using that technique.

from flutter_redux.

brianegan avatar brianegan commented on July 19, 2024

Hey there -- I tried to reproduce this a couple ways on my end but couldn't quite get the bug to affect me.

I've pushed up an example of one attempt to this branch: https://github.com/brianegan/flutter_redux/blob/swipable-bug/example/counter/lib/main.dart

In this instance, I only have 1 reducer which handles a single increment action. In the onInput function of the InputDetector, I dispatch a String. The reducer needs to return something, so I return the previous state when the String is dispatched.

Even if I don't handle the action and return nothing from the reducer in that case, the dismiss gestures continue to work.

Could you please take a look at the example and see what changes might need to be made to reproduce the bug? If we can get a minimal test case that would really help narrow it down!

from flutter_redux.

brianegan avatar brianegan commented on July 19, 2024

@kentcb Hey hey -- sorry to bug ya, but has this continued to cause problems? Would be happy to make changes / fix it up, but couldn't repro myself and would love a bit more help if it's still causing pain :)

from flutter_redux.

kentcb avatar kentcb commented on July 19, 2024

Hey @brianegan - no bother at all. Sorry, I got pulled onto another project so haven't been in flutter land for a bit. TBH, if it's not easy to reproduce I probably won't find the time any more to do so myself. I'll close this issue off and reopen later if it occurs and I can repro for you. Thanks.

from flutter_redux.

brianegan avatar brianegan commented on July 19, 2024

Makes sense, thanks again for the report, and please do let me know if it bites ya again!

from flutter_redux.

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.