Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
dropfish opened this issue May 1, 2015 · 2 comments
Labels

Comments

@dropfish
Copy link

dropfish commented May 1, 2015

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!

@michaelbromley
Copy link
Owner

Hi,

I can confirm I was able to reproduce this. Not got time to dig deep into it right now. The same was reported a while back: #65, at the time I could not figure it out.

As with any bug, it will yield with enough time put into it, but unfortunately I've not got the luxury right now. Any investigation you can do would be appreciated.

@michaelbromley
Copy link
Owner

I think I figured this out as being caused by track by $index in the template. As soon as I get some time I'll verify and make a fix for this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants