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

fix(pagination): disallow tab focus on disabled pagination #3468

Merged

Conversation

Smoggy
Copy link
Contributor

@Smoggy Smoggy commented Nov 15, 2019

The purpose of this PR i to fix focus on disabled pagination control using TAB key

Copy link
Member

@maxokorokov maxokorokov left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hey @Smoggy,

thanks for the PR, LGTM.

The CI failed because the code is not properly formatted. Please check this → https://travis-ci.org/ng-bootstrap/ng-bootstrap/builds/612366140#L249

You could run yarn ci or at least yarn test locally on your machine to check that everything is fine before opening a PR in future.

src/pagination/pagination.spec.ts Outdated Show resolved Hide resolved
@maxokorokov maxokorokov added this to the 5.1.5 milestone Nov 15, 2019
@Smoggy Smoggy force-pushed the pagination_disabled_focus_fix branch from 8b407ad to 2e7aaa8 Compare November 15, 2019 16:23
@codecov-io
Copy link

Codecov Report

Merging #3468 into master will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master    #3468   +/-   ##
=======================================
  Coverage   91.14%   91.14%           
=======================================
  Files          96       96           
  Lines        2800     2800           
  Branches      516      516           
=======================================
  Hits         2552     2552           
  Misses        190      190           
  Partials       58       58
Flag Coverage Δ
#e2e 56.21% <ø> (ø) ⬆️
#unit 87.99% <ø> (ø) ⬆️
Impacted Files Coverage Δ
src/pagination/pagination.ts 100% <ø> (ø) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update cd3f6ba...2e7aaa8. Read the comment docs.

Copy link
Member

@maxokorokov maxokorokov left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks!

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

Successfully merging this pull request may close these issues.

None yet

4 participants