Skip to content

Commit

Permalink
fix: long press scroll issue (#421)
Browse files Browse the repository at this point in the history
  • Loading branch information
anton-gustafsson authored Oct 30, 2023
1 parent a1c67c0 commit 3196299
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
4 changes: 2 additions & 2 deletions android/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ android {
applicationId "com.moimob.drinkable"
minSdkVersion rootProject.ext.minSdkVersion
targetSdkVersion rootProject.ext.targetSdkVersion
versionCode 14200
versionName "1.42.0"
versionCode 14201
versionName "1.42.1"
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
aaptOptions {
// Files and dirs to omit from the packaged assets dir, modified to accommodate modern web apps.
Expand Down
1 change: 1 addition & 0 deletions fastlane/metadata/android/en-US/changelogs/14201.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
• Increased long press timings to avoid issue that dialog opens on scroll
2 changes: 1 addition & 1 deletion src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ export async function configure(aurelia: Aurelia): Promise<void> {
})
.plugin(PLATFORM.moduleName('aurelia-long-click-event'), {
longClickEventName: 'long-click',
clickDurationMS: 500
clickDurationMS: 2500
});

const localStorageService = aurelia.container.get(LocalStorageService);
Expand Down

0 comments on commit 3196299

Please sign in to comment.