PeekAreaInsets is not applied properly before the first and last item in CarouselViewHandler2.iOS
- Dominant language
- C#
- Stars
- 23.3k
- Forks
- 2k
- Avg merge
- 1d 15h
- Merged PRs (30d)
- 290
Description
### Description
In `CarouselViewHandler2`.iOS, `PeekAreaInsets` is not applied before the first and last item in CarouselView2.
The video below demonstrates this issue.
### Actual
https://github.com/user-attachments/assets/17e19261-f0b4-4e13-93f3-c9e55ae6421f
### Expected
https://github.com/user-attachments/assets/531bd6ee-6fe5-403d-b8bb-d9375ec535f2
### Steps to Reproduce
[CarouselViewPeekAreaInsets.zip](https://github.com/user-attachments/files/18781242/CarouselViewPeekAreaInsets.zip) --Deploy this sample
### Link to public reproduction project repository
_No response_
### Version with bug
9.0.40 SR4
### 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,MAC
### Did you find any workaround?
_No response_
### Relevant log output
```shell
```
Contributor guide
Research direction
Start with CarouselViewHandler2.iOS and deploy the attached CarouselViewPeekAreaInsets.zip sample on iOS or macOS. Compare the first and last CarouselView2 items with the expected video, then verify that PeekAreaInsets is applied at both ends without changing the intended middle-item behavior.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- csharp, ios, macos
- Domain
- desktop-dev, mobile-dev
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 38/100