-
Notifications
You must be signed in to change notification settings - Fork 1.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Relative layout content disappeared when Relative layout has the border with border stroke element. #24841
Conversation
…windows and android platform
…ative layout content.
/azp run |
Azure Pipelines successfully started running 3 pipeline(s). |
Azure Pipelines successfully started running 3 pipeline(s). |
/azp run |
Azure Pipelines successfully started running 3 pipeline(s). |
Hi @PureWeen
We have modified the fix without the need to call the ToPlatform method on the shape view. Could you please verify once? |
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
/azp run |
This comment was marked as outdated.
This comment was marked as outdated.
Azure Pipelines successfully started running 3 pipeline(s). |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Only happens with RelativeLayout or with all the legacy layouts?
Hi @jsuarezruiz , |
Root cause
• When we set the stroke shape for border, visual element stroke shape is added to the border. Here, handler does not set to the stroke shape element.
• Therefore, IsPlatformEnabled property is set to false for stroke shape of visual element.
• It caused the content disappeared due to update children calculation does not invoked.
Description of changes
Validated the behaviour in the following platforms
Issues Fixed:
Fixes #23934
Output images:

Windows platform:
Before changes:
After changes:

Android

Before changes:
After changes:
iOS

Before changes:
After changes:
macOS

Before changes:
After changes:
