Coder Social home page Coder Social logo

Comments (6)

Aidurber avatar Aidurber commented on August 12, 2024

@wlamnz Thanks for the report. I'll take a look later.

from react-picky.

Aidurber avatar Aidurber commented on August 12, 2024

🎉 This issue has been resolved in version 4.1.1 🎉

The release is available on:

Your semantic-release bot 📦🚀

from react-picky.

 avatar commented on August 12, 2024

@Aidurber Thanks for your quick effort. However, I just tested the issue on 4.1.1 and I still seem to have the same problem. The Select all checkbox is still not being set once all the values in the dropdown are set.

See below:
image

https://codesandbox.io/s/5w2yq84xql (4.1.1 version)

Clicking the Select button at the top to programmatically set the Item 1 and Item 2 value still does not set the Select all checkbox.

Note: this version is definitely better in a sense that toggling any of the Item values (i.e. Item 1 or Item 2 from the example) will set the Select all, which the previous version did not.

from react-picky.

Aidurber avatar Aidurber commented on August 12, 2024

😕 I had it working correctly and even wrote tests around it. Back to the drawing board!

from react-picky.

Aidurber avatar Aidurber commented on August 12, 2024

Hi @wlamnz, I figured it out. The codesandbox you sent was using React and React-DOM 16.0.0.

Picky has a dependency on React > 16.3.0 since it's using the UNSAFE_* lifecycle methods. See this for reference: https://reactjs.org/blog/2018/03/29/react-v-16-3.html

If you're using 16.0.0 in your app you might want to consider bumping to 16.3.0 or higher. There are no breaking changes.

from react-picky.

 avatar commented on August 12, 2024

Ah, that makes a lot sense. Thanks for that!

from react-picky.

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.