Skip to content

Commit

Permalink
πŸ› restore existing behavior for dead clicks
Browse files Browse the repository at this point in the history
  • Loading branch information
BenoitZugmeyer committed Jan 27, 2023
1 parent 87ecde7 commit 8394f84
Showing 1 changed file with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,11 @@ export function listenActionEvents<ClickContext>({ onPointerDown, onActionStart
selectionEmptyAtPointerDown = isSelectionEmpty()
userActivity = {
selection: false,
input: false,
input: isExperimentalFeatureEnabled('dead_click_fixes')
? false
: // Mimics the issue that was fixed in https://github.com/DataDog/browser-sdk/pull/1968
// The goal is to release all dead click fixes at the same time
userActivity.input,
}
clickContext = onPointerDown(event)
}
Expand Down

0 comments on commit 8394f84

Please sign in to comment.