Giter Site home page Giter Site logo

Comments (9)

gusparis avatar gusparis commented on August 27, 2024

Hey @apgsn ! How's it going?
That's some weird behavior you have there. Let me check. I think I might know why this is happening.

from react-native-month-year-picker.

gusparis avatar gusparis commented on August 27, 2024

@apgsn I tested the component for about 15 min, and the neutral action is firing as expected. Please update with the steps to reproduce it once you have them. 👋🏼 👋🏼 👋🏼

from react-native-month-year-picker.

apgsn avatar apgsn commented on August 27, 2024

Thanks for looking into it! Next week I'll see if I can find a way to replicate the bug consistently.

from react-native-month-year-picker.

gusparis avatar gusparis commented on August 27, 2024

Closed due to inactivity. Reopen if needed.

from react-native-month-year-picker.

SmirnovM91 avatar SmirnovM91 commented on August 27, 2024

Hello, I have the same problem

from react-native-month-year-picker.

SmirnovM91 avatar SmirnovM91 commented on August 27, 2024

I've fixed it by replacing nil to self at 41 line in RNMonthPicker+Toolbar.m

UIBarButtonItem *neutralButton = [[UIBarButtonItem alloc] initWithTitle:_neutralButtonLabel style:UIBarButtonItemStylePlain target:self action:@selector(onNeutralButton)];

from react-native-month-year-picker.

PunainenAurinko avatar PunainenAurinko commented on August 27, 2024

This is still happening in v.1.6.4. After a while of use (multiple month/year) combinations being selected, the neutral button click stops triggering any event at all. I think the above code would fix this issue. Is it possible to make that change in the module?

from react-native-month-year-picker.

PunainenAurinko avatar PunainenAurinko commented on August 27, 2024

@gusparis Hi Gustavo, why was this closed? This issue is still happening in v. 1.6.4. Neutral button randomly stops firing on iOS (I'm on 14.6). SmirnovM91 solution works but needs to be included in the library as a PR.

from react-native-month-year-picker.

gusparis avatar gusparis commented on August 27, 2024

🎉 This issue has been resolved in version 1.7.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

from react-native-month-year-picker.

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.