File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
packages/app/src/app/pages/Sandbox/Editor/Workspace/screens/Comments/Dialog Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -416,12 +416,12 @@ const Replies = ({ replies, repliesRenderedCallback }) => {
416416 * If replies are loaded, do nothing and wait for next animation
417417 * */
418418 React . useEffect ( ( ) => {
419- if ( ! replies . length || T > 0 ) {
419+ if ( ! replies . length ) {
420420 // If the dialog is already open without any replies,
421421 // just skip all of the animations for opening transitions
422422 repliesController . set ( { opacity : 1 , height : 'auto' } ) ;
423423 setStepInTimeline ( 2 ) ;
424- } else if ( ! repliesAlreadyLoadedOnFirstRender . current ) {
424+ } else if ( ! repliesAlreadyLoadedOnFirstRender . current && T === - 1 ) {
425425 skeletonController . set ( { height : SKELETON_HEIGHT , opacity : 1 } ) ;
426426 setStepInTimeline ( 0 ) ;
427427 }
You can’t perform that action at this time.
0 commit comments