ZStack: Empty Space at the end of the View

Hey,
Whenever I add a frame modifier to
Code Block
ZStack(alignment: .topLeading)

The view offsets to a negative value on the x-axis, I'm not sure why this is happening, I fixed it by removing .topLeading from alignment and the frame modifier.
Does someone know the cause of this problem?
Can you show the complete code to reproduce the issue?
ZStack: Empty Space at the end of the View
 
 
Q