Skip to content
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

[BUG] Margin and Padding don't work in CollectionView #23211

Open
acaliaro opened this issue Jun 24, 2024 · 6 comments
Open

[BUG] Margin and Padding don't work in CollectionView #23211

acaliaro opened this issue Jun 24, 2024 · 6 comments
Labels
area-controls-collectionview CollectionView, CarouselView, IndicatorView migration-compatibility Xamarin.Forms to .NET MAUI Migration, Upgrade Assistant, Try-Convert platform/iOS 🍎 potential-regression This issue described a possible regression on a currently supported version., verification pending s/triaged Issue has been reviewed s/verified Verified / Reproducible Issue ready for Engineering Triage t/bug Something isn't working
Milestone

Comments

@acaliaro
Copy link

Description

On iOS Margin and Padding don't work in CollectionView. In the attached example, I have 3 collection views.

  • In the first, a grid with padding appears to maintain padding correctly.

  • In the second, the grid with the margin does not maintain the margin: I would expect there to be white space around the grid but the blue color is continuous.

  • In the third (with border), it seems that the padding is replaced by a margin.

I have seen that in the past some bugs relating to these problems have already been opened, apparently resolved, but apparently not correctly

Steps to Reproduce

Run the project
presso "popup problem!!!!" button
a page with 3 collections should appears

Link to public reproduction project repository

https://github.com/acaliaro/MauiCollectionViewPaddingProblems

Version with bug

8.0.60 SR6

Is this a regression from previous behavior?

Yes, this used to work in .NET MAUI, Yes, this used to work in Xamarin.Forms

Last version that worked well

Unknown/Other

Affected platforms

iOS

Affected platform versions

iOS 17.3 iphone 12

Did you find any workaround?

I think this could help #17885 (comment)

Relevant log output

No response

@acaliaro acaliaro added the t/bug Something isn't working label Jun 24, 2024
Copy link
Contributor

Hi I'm an AI powered bot that finds similar issues based off the issue title.

Please view the issues below to see if they solve your problem, and if the issue describes your problem please consider closing this one and thumbs upping the other issue to help us prioritize it. Thank you!

Open similar issues:

Closed similar issues:

Note: You can give me feedback by thumbs upping or thumbs downing this comment.

@Zhanglirong-Winnie Zhanglirong-Winnie added s/verified Verified / Reproducible Issue ready for Engineering Triage s/triaged Issue has been reviewed migration-compatibility Xamarin.Forms to .NET MAUI Migration, Upgrade Assistant, Try-Convert labels Jun 24, 2024
@Zhanglirong-Winnie
Copy link
Collaborator

This issue has been verified using Visual Studio 17.11.0 Preview 2.1 (8.0.40 & 8.0.60 & 8.0.14). Can be reproduced on iOS platform.

@PureWeen PureWeen added the potential-regression This issue described a possible regression on a currently supported version., verification pending label Jun 24, 2024
@PureWeen PureWeen added this to the Backlog milestone Jun 24, 2024
@PureWeen PureWeen added the area-controls-collectionview CollectionView, CarouselView, IndicatorView label Jun 24, 2024
@acaliaro

This comment was marked as off-topic.

@jfversluis

This comment was marked as off-topic.

@acaliaro

This comment was marked as off-topic.

@jfversluis

This comment was marked as off-topic.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-controls-collectionview CollectionView, CarouselView, IndicatorView migration-compatibility Xamarin.Forms to .NET MAUI Migration, Upgrade Assistant, Try-Convert platform/iOS 🍎 potential-regression This issue described a possible regression on a currently supported version., verification pending s/triaged Issue has been reviewed s/verified Verified / Reproducible Issue ready for Engineering Triage t/bug Something isn't working
Projects
None yet
Development

No branches or pull requests

5 participants