Browse Source

fix(components/columns_area): Increase delta for swipe detection (#4037)

closed-social-v3
Sorin Davidoi 7 years ago
committed by Eugen Rochko
parent
commit
60da49f856
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      app/javascript/mastodon/features/ui/components/columns_area.js

+ 1
- 1
app/javascript/mastodon/features/ui/components/columns_area.js View File

@ -53,7 +53,7 @@ export default class ColumnsArea extends ImmutablePureComponent {
if (singleColumn) {
return (
<ReactSwipeable onSwipedLeft={this.handleLeftSwipe} onSwipedRight={this.handleRightSwipe} className='columns-area'>
<ReactSwipeable onSwipedLeft={this.handleLeftSwipe} onSwipedRight={this.handleRightSwipe} delta={30} className='columns-area'>
{children}
</ReactSwipeable>
);

Loading…
Cancel
Save