Skip to content

Commit

Permalink
fix(calendar): Fix CalendarDatePicker cannot be scrolled when re-opened
Browse files Browse the repository at this point in the history
(cherry picked from commit d161c91)
  • Loading branch information
dr1rrb authored and mergify-bot committed Nov 1, 2021
1 parent 50829e8 commit d05bbc8
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/Uno.UI/UI/Xaml/FrameworkElement.EffectiveViewport.cs
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,13 @@ private void ReconfigureViewportPropagation(bool isInternal = false, IFrameworkE
{
if (IsLoaded && IsEffectiveViewportEnabled)
{
#if CHECK_LAYOUTED
if (IsLoaded)
{
_isLayouted = true;
}
#endif

if (_parentViewportUpdatesSubscription == null)
{
TRACE_EFFECTIVE_VIEWPORT("Enabling effective viewport propagation.");
Expand Down

0 comments on commit d05bbc8

Please sign in to comment.