Scrolling during a tour is buggy if height is set to 100% on body and html
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 35/100
- Issue type
- Bug
- Clarity
- Mostly clear
- Activity status
- Stale
- Tech stack
- angular, typescript
- Domain
- frontend
Research direction
Reproduce the issue in the repository's shepherd-tester demo using html and body height: 100%, then inspect the tour's scrolling behavior. The work is done when repeated scrolling keeps the tour modal reachable instead of stopping with the modal out of view, without relying on the reported CSS workaround.
Written by the indexing model from the issue text.
Description
If you style your Angular app's "body" and "html" tags with "height: 100%" and then start a tour, scrolling will partially work (just as the demo "shepherd-tester" in the repo), but if you scroll up and down a bit, scrolling will suddenly stop working and you might get stuck with the tour modal out of view.
So if you have
body, html {
height: 100%;
}
in your styles.css, and want to use Angular Shepherd without the buggy scroll behavior, you need to find another way to make your app have full width/height with regards to the browser window.
One workaround that seems to work for me so far is:
styles.css
html, body {
min-height: 100vh;
margin: 0;
}
body {
display: flex;
}
app.component.css
:host {
flex: 1;
}
- Dominant language
- TypeScript
- Stars
- 238
- Forks
- 50
- Avg merge
- 1m
- Merged PRs (30d)
- 9
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from shipshapecode/angular-shepherd
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
shipshapecode/angular-shepherd#2987 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 48/100
shipshapecode/angular-shepherd#2986 · 3 comments ·
-
Difficulty 4/5 3-5 days Newbie friendliness 35/100
shipshapecode/angular-shepherd#2774 ·
-
Difficulty 3/5 1-2 days Newbie friendliness 35/100
shipshapecode/angular-shepherd#2610 · 15 comments · 12 reactions ·
-
angular-shepherd Openenhancement
Difficulty 3/5 1-2 days Newbie friendliness 32/100
shipshapecode/angular-shepherd#2240 · 3 comments ·
All issues in shipshapecode/angular-shepherd
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
Eynzof/Hermes-CN-Desktop#610 ·
-
bug clawsweeper:linked-pr-open clawsweeper:needs-live-repro clawsweeper:no-new-fix-pr impact:message-loss issue-rating: 🐚 platinum hermit P2 regression
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
-
enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
-
calcite-components needs triage refactor
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
Esri/calcite-design-system#15203 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 90/100
danielmiessler/LifeOS#2218 ·