Skip to content

Jitsi Meet - Secure, Simple and Scalable Video Conferences that you use as a standalone app or embed in your web application.

fix:Auto-Scroll Issue in Poll Screen After Adding an Option

[email protected]67d9a9819e97
diff --git a/react/features/polls/components/native/PollCreate.tsx b/react/features/polls/components/native/PollCreate.tsx
index 25ad59f9b3..a2bb254047 100644
--- a/react/features/polls/components/native/PollCreate.tsx
+++ b/react/features/polls/components/native/PollCreate.tsx
@@ -45,7 +45,9 @@ const PollCreate = (props: AbstractProps) => {
useEffect(() => {
answerInputs.current = answerInputs.current.slice(0, answers.length);
-
+ setTimeout(() => {
+ answerListRef.current?.scrollToEnd({ animated: true });
+ }, 1000);
}, [ answers ]);
/*