Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

hoverEnabled not properly working

Open
#91 2 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
35/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Stale
Tech stack
angular, typescript
Domain
frontend

Research direction

Start with the reported usage and the hoverEnabled behavior in the Angular component. Reproduce the example with rating 2.5 in Chromium and Firefox, then inspect how hovering affects the positive, ok, and negative colors. Done means hover works in Firefox and preserves the current color in Chromium.

Written by the indexing model from the issue text.

Description

type: bug

I'm submitting a...


[X] Bug report
[ ] Feature request

There is a related issue: https://github.com/BioPhoton/angular-star-rating/issues/38

Current behavior

Only in case 'hoverEnabled' is 'true':

  • In Chromium: It works, but after hovering the stars, they change their color to default color (= grey).
  • In Firefox: hover is not working at all

Expected behavior

  • In Chromium: The current color (positive = green, ok = yellow, negative = green) should be maintained after hovering.
  • In Firefox: It should do something ;)

Minimal reproduction of the problem with instructions

I've implemeted the star rating as follows:

<star-rating [starType]="'svg'" [showHalfStars]="true" [hoverEnabled]="true" [rating]="2.5" (ratingChange)="rate($event)"></star-rating>

Environment


Library version: 4.0.0-beta.3
Angular version: 5.2.0

Tested browsers:
- Chromium (desktop) version 65
- Firefox (desktop) version 59
Dominant language
TypeScript
Stars
219
Forks
82
PR merge metrics
No merged PRs in 30d

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from BioPhoton/angular-star-rating

All issues in BioPhoton/angular-star-rating

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.