Scroll view content not rendered properly while dynamically adding the layout on view (iOS and Mac). #18750
Labels
area-controls-scrollview
ScrollView
platform/iOS 🍎
platform/macOS 🍏
macOS / Mac Catalyst
t/bug
Something isn't working
Description
Scrollview:
I had set a width is 300 height is 400 for the custom view.
While dynamically add the stack layout on view then got a custom view width and height is full screen width and height.
So that content of the picker scroll view rendered based on the parent width(Example: Full screen width = 1000, Height = 700).
So that the scrolling did not work properly in Mac and iOS platforms.
Steps to Reproduce
3.Check the PickerContentView width and height.
4.Click the button to add the stack layout on the view.
5.Check the width and height of the PickerContentView(We got the full screen size instead of custom view width and height).
Link to public reproduction project repository
https://github.com/dotnet/maui/files/13364011/MacPickerCusIssue.zip
Version with bug
8.0.0-rc.1.9171
Is this a regression from previous behavior?
No, this is something new
Last version that worked well
Unknown/Other
Affected platforms
iOS, macOS
Affected platform versions
iOS 16.2, Mac OS 12.6.3
Did you find any workaround?
No
Relevant log output
No response
The text was updated successfully, but these errors were encountered: