UX: only allow scroll grab if nav is scrollable (#20447)

This commit is contained in:
Kris 2023-02-24 14:25:38 -05:00 committed by GitHub
parent 435ba4d03d
commit d3983d94a3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -62,7 +62,7 @@ export default class HorizontalOverflowNav extends Component {
@bind
scrollDrag(event) {
if (this.site.mobileView) {
if (this.site.mobileView || !this.hasScroll) {
return;
}