-
-
Notifications
You must be signed in to change notification settings - Fork 220
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
Overscroll visual issue on Safari #559
Comments
@lixiaoyan Thanks for this report! Unfortunately I'm not owner of a mac, so I'm unable to test those things. (BrowserStack isn't much of a help here because they have configured the system to not have overscroll animations). Do you mind helping me with fixing this issue in the best possible way? I would need to know when exactly the faulty behavior dissappears:
Also does this happen on the body element as well? |
Screen.Recording.2023-09-11.at.7.05.19.PM.movThis issue also affects the body scrolling. |
The 1.x version does not have this problem. |
@lixiaoyan Thanks! I'll look further into this issue! |
@lixiaoyan I've fixed this issue in version In case this issue still exists please don't hesitate to reach out to me in this or a new issue |
Hi, I tried the latest version, and it appears to be fixed for elements other than the body. This is still an issue with window scrolling. Screen.Recording.2023-09-18.at.3.15.22.PM.mov |
It might be a bug in WebKit: Screen.Recording.2023-09-18.at.3.17.41.PM.mov |
Bumps [overlayscrollbars](https://github.com/KingSora/OverlayScrollbars/tree/HEAD/packages/overlayscrollbars) from 2.3.0 to 2.3.1. <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/KingSora/OverlayScrollbars/blob/master/packages/overlayscrollbars/CHANGELOG.md">overlayscrollbars's changelog</a>.</em></p> <blockquote> <h2>2.3.1</h2> <h3>Bug Fixes</h3> <ul> <li>Fix direction <code>rtl</code> visual scrollbar handle behavior in browser which support the <a href="https://developer.mozilla.org/en-US/docs/Web/API/ScrollTimeline">ScrollTimeline API</a>.</li> <li>Fix double tap behavior for interactive elements on <code>iOS</code> devices if <code>autoHide</code> is <code>leave</code> or <code>move</code>. <a href="https://github.com/KingSora/OverlayScrollbars/discussions/560">#560</a> <a href="https://github.com/KingSora/OverlayScrollbars/discussions/285">#285</a></li> <li>Fix incorrect scrollbar handle calculation when overscroll on safari occurred. <a href="https://github.com/KingSora/OverlayScrollbars/discussions/559">#559</a></li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li>See full diff in <a href="https://github.com/KingSora/OverlayScrollbars/commits/HEAD/packages/overlayscrollbars">compare view</a></li> </ul> </details> <br /> [](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) </details> Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [overlayscrollbars](https://github.com/KingSora/OverlayScrollbars/tree/HEAD/packages/overlayscrollbars) from 2.3.0 to 2.3.1. <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/KingSora/OverlayScrollbars/blob/master/packages/overlayscrollbars/CHANGELOG.md">overlayscrollbars's changelog</a>.</em></p> <blockquote> <h2>2.3.1</h2> <h3>Bug Fixes</h3> <ul> <li>Fix direction <code>rtl</code> visual scrollbar handle behavior in browser which support the <a href="https://developer.mozilla.org/en-US/docs/Web/API/ScrollTimeline">ScrollTimeline API</a>.</li> <li>Fix double tap behavior for interactive elements on <code>iOS</code> devices if <code>autoHide</code> is <code>leave</code> or <code>move</code>. <a href="https://github.com/KingSora/OverlayScrollbars/discussions/560">#560</a> <a href="https://github.com/KingSora/OverlayScrollbars/discussions/285">#285</a></li> <li>Fix incorrect scrollbar handle calculation when overscroll on safari occurred. <a href="https://github.com/KingSora/OverlayScrollbars/discussions/559">#559</a></li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li>See full diff in <a href="https://github.com/KingSora/OverlayScrollbars/commits/HEAD/packages/overlayscrollbars">compare view</a></li> </ul> </details> <br /> [](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) </details> Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [overlayscrollbars](https://github.com/KingSora/OverlayScrollbars/tree/HEAD/packages/overlayscrollbars) from 2.3.0 to 2.3.1. <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/KingSora/OverlayScrollbars/blob/master/packages/overlayscrollbars/CHANGELOG.md">overlayscrollbars's changelog</a>.</em></p> <blockquote> <h2>2.3.1</h2> <h3>Bug Fixes</h3> <ul> <li>Fix direction <code>rtl</code> visual scrollbar handle behavior in browser which support the <a href="https://developer.mozilla.org/en-US/docs/Web/API/ScrollTimeline">ScrollTimeline API</a>.</li> <li>Fix double tap behavior for interactive elements on <code>iOS</code> devices if <code>autoHide</code> is <code>leave</code> or <code>move</code>. <a href="https://github.com/KingSora/OverlayScrollbars/discussions/560">#560</a> <a href="https://github.com/KingSora/OverlayScrollbars/discussions/285">#285</a></li> <li>Fix incorrect scrollbar handle calculation when overscroll on safari occurred. <a href="https://github.com/KingSora/OverlayScrollbars/discussions/559">#559</a></li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li>See full diff in <a href="https://github.com/KingSora/OverlayScrollbars/commits/HEAD/packages/overlayscrollbars">compare view</a></li> </ul> </details> <br /> <details> <summary>Most Recent Ignore Conditions Applied to This Pull Request</summary> | Dependency Name | Ignore Conditions | | --- | --- | | overlayscrollbars | [> 2.3.1] | </details> [](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) </details> Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Describe the bug
The scrollbar has a visual issue with the overscroll behavior on Safari
This issue does not appear if the overscroll behavior is disabled (
overscroll-behavior: none
)To Reproduce
Open Safari and goto https://kingsora.github.io/OverlayScrollbars/example/overlayscrollbars/
Expected behavior
The scrollbar should not jump
Examples
Screen.Recording.2023-09-11.at.12.42.55.PM.mov
Environment
The text was updated successfully, but these errors were encountered: