Our app has a lot of .sheet() modifiers to pop up over our views. We are using your PartialSheet to have an additional popup over our sheet, but are noticing that the edge of the bottom gets cut off, due to the height of the .sheet() behind it. We added the .attachPartialSheetToRoot() to the view that .sheet() encapsulates. I believe that the root view's height is what is used for calculation, so when the root view is a sheet, the height is smaller so the calculated height reduces. I have tried attachPartialSheetToRoot on the .sheet().attachPartialSheetToRoot but that doesn't work at all.
Any ideas to when this can be fixed? We have to add padding right now but want to reuse the view in places that don't have it popup on a sheet and instead just the static view, so we don't want the padding in some cases.
Our app has a lot of .sheet() modifiers to pop up over our views. We are using your PartialSheet to have an additional popup over our sheet, but are noticing that the edge of the bottom gets cut off, due to the height of the .sheet() behind it. We added the .attachPartialSheetToRoot() to the view that .sheet() encapsulates. I believe that the root view's height is what is used for calculation, so when the root view is a sheet, the height is smaller so the calculated height reduces. I have tried attachPartialSheetToRoot on the .sheet().attachPartialSheetToRoot but that doesn't work at all.
Any ideas to when this can be fixed? We have to add padding right now but want to reuse the view in places that don't have it popup on a sheet and instead just the static view, so we don't want the padding in some cases.