diff --git a/frontend/src/Call/CallPlayer.js b/frontend/src/Call/CallPlayer.js index 554c76b..b85e61e 100644 --- a/frontend/src/Call/CallPlayer.js +++ b/frontend/src/Call/CallPlayer.js @@ -50,6 +50,7 @@ function CallPlayer(props) { const {callLink,callDownload,callTweet} = useCallLink(currentCall) const dispatch = useDispatch(); + const stickyRef = useRef(); // lets us get the Y Scroll offset for the Call List const positionRef = useRef(); // lets us get the Y Scroll offset for the Call List const shouldPlayAddCallRef = useRef(); // we need to do this to make the current value of isPlaying available in the socket message callback shouldPlayAddCallRef.current = (!isPlaying && autoPlay)?true:false; @@ -120,8 +121,8 @@ function CallPlayer(props) { return ( - <> - +
+ - +
); }