joogps / SlideOverCard

A SwiftUI card view, made great for setup interactions.
MIT License
1.08k stars 43 forks source link

Sheet with innerPadding set to 0 still has some paddings set #32

Open chichkanov opened 6 months ago

chichkanov commented 6 months ago

Steps to repro

  1. Set sheet's style with innerPadding = 0
  2. Open the sheet

Env Simulator iPhone 15 pro max, iOS 17.4

Seems like you still provide some paddings to make sure content isn't displayed outside the corners. I think the expected behavior is that there is no padding and the content is clipped by shape with a corner radius provided

Simulator Screenshot - iPhone 15 Pro Max - 2024-04-11 at 14 44 43