Skip to content

fix: offset scrollspy so righthand-nav highlights the correct entry - #3820

Merged
jennifer-richards merged 3 commits into
ietf-tools:feat/bs5from
painless-security:jennifer/scroll-offset
Apr 14, 2022
Merged

fix: offset scrollspy so righthand-nav highlights the correct entry#3820
jennifer-richards merged 3 commits into
ietf-tools:feat/bs5from
painless-security:jennifer/scroll-offset

Conversation

@jennifer-richards

Copy link
Copy Markdown
Member

No description provided.

This seems to be less flaky than the ActionChains implementation.
Slight change in behavior - now scrolls the requested element to
the middle of the window instead of barely into view.
@codecov

codecov Bot commented Apr 13, 2022

Copy link
Copy Markdown

Codecov Report

Merging #3820 (9436b9e) into feat/bs5 (8bd4851) will increase coverage by 0.02%.
The diff coverage is 98.24%.

@@             Coverage Diff              @@
##           feat/bs5    #3820      +/-   ##
============================================
+ Coverage     87.97%   88.00%   +0.02%     
============================================
  Files           296      297       +1     
  Lines         38795    38759      -36     
============================================
- Hits          34130    34108      -22     
+ Misses         4665     4651      -14     
Impacted Files Coverage Δ
ietf/meeting/models.py 86.08% <ø> (ø)
ietf/meeting/urls.py 100.00% <ø> (ø)
ietf/meeting/utils.py 90.27% <ø> (-0.29%) ⬇️
ietf/meeting/views.py 91.02% <95.23%> (+0.30%) ⬆️
ietf/doc/templatetags/ballot_icon.py 84.89% <100.00%> (ø)
ietf/doc/templatetags/ietf_filters.py 81.25% <100.00%> (ø)
ietf/doc/views_ballot.py 91.60% <100.00%> (ø)
ietf/doc/views_charter.py 88.72% <100.00%> (ø)
ietf/doc/views_status_change.py 93.04% <100.00%> (ø)
ietf/ietfauth/views.py 90.57% <100.00%> (ø)
... and 9 more

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 a29965f...9436b9e. Read the comment docs.

@jennifer-richards
jennifer-richards merged commit 310e828 into ietf-tools:feat/bs5 Apr 14, 2022
@jennifer-richards
jennifer-richards deleted the jennifer/scroll-offset branch April 14, 2022 18:35
@github-actions github-actions Bot locked as resolved and limited conversation to collaborators Jun 16, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants