UX: only allow scroll grab if nav is scrollable (#20447)
This commit is contained in:
parent
435ba4d03d
commit
d3983d94a3
|
@ -62,7 +62,7 @@ export default class HorizontalOverflowNav extends Component {
|
|||
|
||||
@bind
|
||||
scrollDrag(event) {
|
||||
if (this.site.mobileView) {
|
||||
if (this.site.mobileView || !this.hasScroll) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue