Emoji: Fix autoplay incorrectly being applied (#36503)

This commit is contained in:
Echo 2025-10-16 14:46:17 +02:00 committed by GitHub
parent 28339cad6d
commit 7530f06dee
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -63,7 +63,7 @@ export const AnimateEmojiProvider = polymorphicForwardRef<
// If there's a parent context or GIFs autoplay, we don't need handlers.
const parentContext = useContext(AnimateEmojiContext);
if (parentContext !== null || autoPlayGif === true) {
if (parentContext !== null) {
return (
<Wrapper
{...props}