Skip to content

hoverEnabled not properly working #91

@sagacitysite

Description

@sagacitysite

I'm submitting a...


[X] Bug report
[ ] Feature request

There is a related issue: #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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions