Skip to content

CSS hover property persists for last clicked index if pagination controls contains an ellipsis #153

Closed
@dropfish

Description

@dropfish

This only occurs when the pagination controls contain an ellipsis. Clicking a page number that will move the ellipsis to a different spot in the array causes the page number at the clicked index to have the CSS class associated with a mouse hover, even on mouse exit. The class disappears when you click anywhere else.

Steps to reproduce:

  1. Open the Plunker example.
  2. Click page 6.
  3. Notice that page 7, which is where your mouse currently is, will stay darkened even when your mouse leaves the element.
  4. Click anywhere else; the class that darkens that element will be removed.

Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions