mirror of
https://github.com/discourse/discourse.git
synced 2025-02-18 01:05:00 +00: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
|
@bind
|
||||||
scrollDrag(event) {
|
scrollDrag(event) {
|
||||||
if (this.site.mobileView) {
|
if (this.site.mobileView || !this.hasScroll) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user