Giter Site home page Giter Site logo

Comments (8)

crystalcase avatar crystalcase commented on August 27, 2024 1

Hey @crystalcase ! thanks for using the lib. Are you sure is not jumping back because you have set either a min or max dates? Because that's the expected behaviour when you set those props.

Yes you are right, I set those props and forgot to change them. I set both to new Date() and did not notice it. Although max and min dates do not have the expected behaviour, because I can still select dates beyond. Just with single taps. I would expect everything beyond max and min being disabled. Is the current behaviour intended?

Regarding the sidenote, I'm working on a month infinite scroll atm, to accomplish what you're proposing, but don't have an eta yet 😞

Sounds great, with fixing the scrolling it is fine and would just be a nice to have feature.

from react-native-month-year-picker.

gusparis avatar gusparis commented on August 27, 2024 1

Will do. Keep posted for new versions. Thank you for taking the time to test the library and sharing your findings 👍🏼

from react-native-month-year-picker.

gusparis avatar gusparis commented on August 27, 2024

Hey @crystalcase ! thanks for using the lib. Are you sure is not jumping back because you have set either a min or max dates? Because that's the expected behaviour when you set those props.

from react-native-month-year-picker.

gusparis avatar gusparis commented on August 27, 2024

Regarding the sidenote, I'm working on a month infinite scroll atm, to accomplish what you're proposing, but don't have an eta yet 😞

from react-native-month-year-picker.

gusparis avatar gusparis commented on August 27, 2024

@crystalcase not expected, but on Android it has a weird behavior when you are fast-scrolling I couldn't fix. I'll give it a shot during the holidays.

from react-native-month-year-picker.

crystalcase avatar crystalcase commented on August 27, 2024

@crystalcase not expected, but on Android it has a weird behavior when you are fast-scrolling I couldn't fix. I'll give it a shot during the holidays.

Not exactly what I mean. If January 2021 is max I can fast scroll to January 2021. With single tapping I can choose February 2021, too. Not what I expected by setting a max date

from react-native-month-year-picker.

gusparis avatar gusparis commented on August 27, 2024

But when you tap on a date above max (or below min) it should go back to the previous set value. If not, there is a bug there.

from react-native-month-year-picker.

crystalcase avatar crystalcase commented on August 27, 2024

But when you tap on a date above max (or below min) it should go back to the previous set value. If not, there is a bug there.

Maybe you should test it, but in my usage it looks like a bug. It does not work with scrolling, but with single tabs on the fields

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.