[NUI] Fix wrong prev size assigning on scroll relayout. (#3728)
authorSangHyeon Jade Lee <sh10233.lee@samsung.com>
Fri, 12 Nov 2021 08:15:08 +0000 (17:15 +0900)
committerGitHub <noreply@github.com>
Fri, 12 Nov 2021 08:15:08 +0000 (17:15 +0900)
src/Tizen.NUI.Components/Controls/ScrollableBase.cs

index 72591cc..3e10b34 100755 (executable)
@@ -755,8 +755,8 @@ namespace Tizen.NUI.Components
                 }
             }
 
-            previousContainerSize = ContentContainer.Size;
-            previousSize = Size;
+            previousContainerSize = new Size(ContentContainer.Size);
+            previousSize = new Size(Size);
         }
 
         private bool ReviseContainerPositionIfNeed()