Topic: Ratings loses visual after mouse leave
wlvpn premium asked 1 year ago
Expected behavior
When setting a value in HTML using data-mdb-value="4" for example, hovering over the rating icons, and then moving the pointer back out, I would expect to see the original 4 icons filled in.
Actual behavior
When page loads, data-mdb-value="4" shows 4 icons filled as expected, however, when hovering over, then away, no icons are filled.
Resources (screenshots, code snippets etc.)
the same behaviour can be seen
<ul class="rating" data-mdb-toggle="rating" data-mdb-value="4">
<li><i class="far fa-star fa-sm text-primary" title="Bad"></i></li>
<li><i class="far fa-star fa-sm text-primary" title="Poor"></i></li>
<li><i class="far fa-star fa-sm text-primary" title="OK"></i></li>
<li><i class="far fa-star fa-sm text-primary" title="Good"></i></li>
<li><i class="far fa-star fa-sm text-primary" title="Excellent"></i></li>
</ul>
FREE CONSULTATION
Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.
Answered
- ForumUser: Premium
- Premium support: Yes
- Technology: MDB Standard
- MDB Version: MDB5 6.2.0
- Device: PC
- Browser: Chrome
- OS: Windows
- Provided sample code: No
- Provided link: No