Giter VIP home page Giter VIP logo

Comments (8)

ekeric13 avatar ekeric13 commented on June 8, 2024 1

Yeah, looks like that is also not supported.

Let me add the polyfill:

https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number/isInteger

from react-star-ratings.

luizrrodrigues avatar luizrrodrigues commented on June 8, 2024 1

Wow.. Sorry, my fault.. Looks like all good now.. Thanks for fast replies. :)

from react-star-ratings.

ekeric13 avatar ekeric13 commented on June 8, 2024

Oh shoot. I thought babel would have compiled that to a format that supports ie. I can make a change so that I don't use fill though, so no worries.

You can also checkout this repo I made recently as I am pretty sure I don't use fill:

https://github.com/ekeric13/react-ratings-declarative

from react-star-ratings.

luizrrodrigues avatar luizrrodrigues commented on June 8, 2024

Cool, I'll take a look. :) 👍

from react-star-ratings.

ekeric13 avatar ekeric13 commented on June 8, 2024

@luizrrodrigues Think I got it working without .fill for this repo as well now. but for version 2.x. I will need to look into how to release multiple different versions of an npm package before updating the v1 api.

edit: let me know if you experience any issues. I would have to download a vm to test myself on ie. Just did a quick fix that should support ie.

from react-star-ratings.

luizrrodrigues avatar luizrrodrigues commented on June 8, 2024

Just update to latest version, have error with other method isInteger.

2e48c7c11565d3fa092f9f3d3e5e0d3a

from react-star-ratings.

luizrrodrigues avatar luizrrodrigues commented on June 8, 2024

humm. Looks like not working well, stars now ignoring 'starWidthAndHeight'

1aae938aa1d6c1f732f92339107e7ddf

from react-star-ratings.

ekeric13 avatar ekeric13 commented on June 8, 2024

You might need to change the props if you are using the new api.

https://github.com/ekeric13/react-star-ratings#api-v2

from react-star-ratings.

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.