Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
fix(b-modal): prevent page scroll when tabbing to bottom of modal + better tab containment in enforceFocus (closes #3842) #3846
Describe the PR
Prevent the page from scrolling when tabbing to bottom of modal when enforce focus is enabled.
Also adds in handling of SHIFT+TAB within enforce focus routine.
What kind of change does this PR introduce? (check at least one)
Does this PR introduce a breaking change? (check one)
The PR fulfills these requirements:
If new features/enhancement/fixes are added or changed:
If adding a new feature, or changing the functionality of an existing feature, the PR's
@@ Coverage Diff @@ ## dev #3846 +/- ## ======================================== + Coverage 99.3% 99.3% +<.01% ======================================== Files 233 233 Lines 4453 4473 +20 Branches 1262 1267 +5 ======================================== + Hits 4422 4442 +20 Misses 25 25 Partials 6 6