Only animate typing when viewing conversation

This commit is contained in:
ayumi-signal 2023-10-02 16:18:28 -04:00 committed by GitHub
parent c9af8d3ce2
commit 69c0cad14c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 59 additions and 26 deletions

View file

@ -2688,6 +2688,14 @@
"reasonCategory": "usageTrusted",
"updated": "2022-11-03T14:21:47.456Z"
},
{
"rule": "React-useRef",
"path": "ts/components/conversation/TypingBubble.tsx",
"line": " const prevTypingContactIds = React.useRef<",
"reasonCategory": "usageTrusted",
"updated": "2023-09-28T21:48:57.488Z",
"reasonDetail": "Used to track change of typing contacts while a conversation is actively viewed."
},
{
"rule": "React-useRef",
"path": "ts/components/conversation/WaveformScrubber.tsx",
@ -2804,6 +2812,13 @@
"reasonCategory": "usageTrusted",
"updated": "2021-10-22T00:52:39.251Z"
},
{
"rule": "React-useRef",
"path": "ts/hooks/useScrollLock.tsx",
"line": " const onUserInterruptRef = useRef(onUserInterrupt);",
"reasonCategory": "usageTrusted",
"updated": "2023-09-19T17:05:51.321Z"
},
{
"rule": "React-useRef",
"path": "ts/hooks/useSizeObserver.tsx",
@ -2853,13 +2868,6 @@
"reasonCategory": "usageTrusted",
"updated": "2023-07-25T21:55:26.191Z"
},
{
"rule": "React-useRef",
"path": "ts/hooks/useScrollLock.tsx",
"line": " const onUserInterruptRef = useRef(onUserInterrupt);",
"reasonCategory": "usageTrusted",
"updated": "2023-09-19T17:05:51.321Z"
},
{
"rule": "React-useRef",
"path": "ts/quill/formatting/menu.tsx",