Skip to content
This repository has been archived by the owner on May 29, 2019. It is now read-only.

pagination focusing on page that hasn't been clicked #3486

Closed
benthepoet opened this issue Apr 3, 2015 · 0 comments
Closed

pagination focusing on page that hasn't been clicked #3486

benthepoet opened this issue Apr 3, 2015 · 0 comments

Comments

@benthepoet
Copy link
Contributor

I've noticed that when working with the pagination directive that the focus style will be applied to a page button that hasn't been clicked. Versions I'm using are below.

  • angular 1.2.27
  • ui-boostrap 0.12.1
  • bootstrap 3.3.4

This only happens when you have max-items set to less than the number of total pages. You'll see it when you click a page that shifts the visible range.

To demonstrate the issue I have a Plunk.
http://plnkr.co/edit/z8a5lNkvtR7zo9gVqU9e?p=preview

Click page 2 and you should see that it shifts and highlights page 2 as being active but page 1 is now focused (cause it'll go away if you click outside the pager).

image

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

Successfully merging a pull request may close this issue.

3 participants