FIX: longer touch for active message (#22279)

Moving from 50ms to 125ms, it should limit cases where message is activated during scroll.
This commit is contained in:
Joffrey JAFFEUX 2023-06-26 16:59:10 +02:00 committed by GitHub
parent 9a276cb688
commit 0ab572fbf0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -283,7 +283,7 @@ export default class ChatMessage extends Component {
// capture the touch event instead of a scroll
this._makeMessageActiveHandler = discourseLater(() => {
this.isActive = true;
}, 50);
}, 125);
}
@action