Skip to content

Commit 91eaa45

Browse files
author
cferdinandi
committed
Updated readme
1 parent 75f0393 commit 91eaa45

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

README.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -238,8 +238,15 @@ Smooth Scroll is built with modern JavaScript APIs, and uses progressive enhance
238238

239239
## Known Issues
240240

241+
### `<body>` styling
242+
241243
If the `<body>` element has been assigned a height of `100%` or `overflow: hidden`, Smooth Scroll is unable to properly calculate page distances and will not scroll to the right location. The `<body>` element can have a fixed, non-percentage based height (ex. `500px`), or a height of `auto`, and an `overflow` of `visible`.
242244

245+
### Animating from the bottom
246+
247+
Animated scrolling links at the very bottom of the page (example: a "scroll to top" link) will stop animated almost immediately after they start when using certain easing patterns. This is an issue that's been around for a while and I've yet to find a good fix for it. I've found that `easeOut*` easing patterns work as expected, but other patterns can cause issues. [See this discussion for more details.](https://github.com/cferdinandi/smooth-scroll/issues/49)
248+
249+
243250

244251
## Programatically adding `[data-scroll]` attributes to all anchor links
245252

0 commit comments

Comments
 (0)