0
0
Fork 0

Fix middle-click handling conflicting with automatic scrolling (#33106)

This commit is contained in:
Claire 2024-11-29 15:04:22 +01:00 committed by GitHub
parent 9296d58024
commit 9ff01403ea
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

View file

@ -173,7 +173,7 @@ class Status extends ImmutablePureComponent {
handleMouseUp = e => {
// Only handle clicks on the empty space above the content
if (e.target !== e.currentTarget) {
if (e.target !== e.currentTarget && e.detail >= 1) {
return;
}