Ignoring keyboard safe area in action sheet

I can't get .ignoreSafeArea(.keyboard) to work in action sheets. Does anyone have any clue about this?

Can you show the complete code to reproduce the issue? Adding an image which describes what is wrong would be appreciated.

Ignoring keyboard safe area in action sheet
 
 
Q