Changing the preview device solves the issue for a while but just after changing any constraints same thing reoccurs. Xcode Version 13.3.1
I have found the root cause of the issue. Actually the stack view was causing the issue as i had very high value of spacing. Decreasing it to appropriate small value resolved the issue