Comments (3)
Yes its kind of intended behavior - since the design has to consider fractional fills as well... and that can correctly happen only if the plugin understands where the user clicks on the star.
Users will more appreciate this with fractional fills (e.g. try setting the step
to 0.5
for 5 stars between 0 to 5) and check the experience.
Thus, in order to completely fill a star one has to click towards the right end of the star. The plugin tries its best to round it of to the highest precision based on the step
provided. Do you have any other suggestions? I am open for improving this.
EDIT: I am providing a fix for this shortly.
from bootstrap-star-rating.
This is now resolved with the latest commit 573f4d8.
Precision in calculation has been made more intelligent and will logically react to fill the star when the user clicks on a star (based on the step
defined).
from bootstrap-star-rating.
Thanks, I believe it works like a charm.
from bootstrap-star-rating.
Related Issues (20)
- problem with modal form HOT 1
- How to change to displayOnly using jquery? HOT 1
- issue with renderAjax bootstrap modal popup
- theme not being picked up from rating container options HOT 1
- defaults language unable to set HOT 1
- Is it supported for bootstrap 4.x ? HOT 1
- Correct rating base input positioning
- Enhancements to support BS 5.x (and 4.x/3.x)
- Revamp themes - set default theme to Krajee SVG
- Correct keyboard arrow keys behavior for RTL oriented inputs
- Enhance caption badge styles
- Dropping jQuery dependency. HOT 1
- Module handling seems wrong HOT 2
- problem css class ".rating-input" line 37 HOT 2
- stars are filled in mobile (RTL) HOT 1
- olor HOT 1
- Hearts not working with jquery above version 2 HOT 1
- filling one star or icon instead of all previous ones HOT 1
- Tag version 4.1.3
- nl.js references itself as <LANG> instead of as 'nl'
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from bootstrap-star-rating.