Skip to content

Conversation

@NirmalKumarYuvaraj
Copy link
Contributor

Issue Details:

Editor's width and height is not updated when changing the device orientation from landscape to portrait.

Root Cause:

When changing the device orientation from landscape to portrait, the Editor view retains its previous landscape bounds, as the bounds for the PlatformView of the Editor are not updated during the new layout pass from the parent. This issue occurs when the Editor is placed inside a nested ScrollView and Grid. The size of the grid (the presented content inside the first ScrollView) is not updated during the layout pass. As a result, the layout of subsequent children, such as the Border, second ScrollView, and the Editor itself, does not update correctly, causing the width and height to remain incorrect.

Description of Change:

I’ve called the scrollView.ArrangeContentUnbounded(Frame) method within the ArrangeOverride method of the ScrollView class. This ensures that the presented content (the Grid) updates its size, along with its child elements, including the Border, inner ScrollView, and Editor.

Tested the behavior in the following platforms.

  • Android
  • Windows
  • iOS
  • Mac

Issues Fixed:

Fixes #22946

Screenshots

Before Issue Fix After Issue Fix

@dotnet-policy-service dotnet-policy-service bot added the community ✨ Community Contribution label Nov 21, 2024
@dotnet-policy-service
Copy link
Contributor

Hey there @NirmalKumarYuvaraj! Thank you so much for your PR! Someone from the team will get assigned to your PR shortly and we'll get it reviewed.

@jsuarezruiz
Copy link
Contributor

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 3 pipeline(s).

@jsuarezruiz
Copy link
Contributor

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 3 pipeline(s).

@NirmalKumarYuvaraj NirmalKumarYuvaraj added the partner/syncfusion Issues / PR's with Syncfusion collaboration label Dec 6, 2024
@jsuarezruiz
Copy link
Contributor

/rebase

@jsuarezruiz
Copy link
Contributor

/rebase

@jsuarezruiz
Copy link
Contributor

/rebase

@jsuarezruiz
Copy link
Contributor

/rebase

Fixed Editor and ScrollView problems in iOS
Added platform-specific condition to skip the test case on Windows.
Reason updated for why test case fails on windows and Catalyst platform
@github-actions github-actions bot locked and limited conversation to collaborators Sep 6, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

area-controls-editor Editor area-controls-scrollview ScrollView community ✨ Community Contribution partner/syncfusion Issues / PR's with Syncfusion collaboration platform/ios

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Editor and ScrollView problems in iOS

3 participants