mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
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
Block a user