An alert presented in Mac Catalyst vs. an alert presented in a cross-platform SwiftUI app.

Small things like this make me question if it was the right decision to go with Mac Catalyst.

Trying to recreate my UI in a cross-platform SwiftUI app. I've gotten the alert working except:

1. The TextField is a bit small. I can't seem to make it taller.
2. The TextField isn't focused when the alert is presented. This is very annoying. I tried all sorts of combinations of .focused() and can't seem to get it working.

@simonbs Catalyst is so weird in certain areas. :/

Have you tried the becomeFirstReponder() function for focusing the text field?
@Viditb This is a cross-platform SwiftUI app so I don't think I can call becomeFirstResponder().
@simonbs @Viditb You could try to use the Introspect library. Not ideal if you want to avoid third party libs but I’ve found it essential to get certain things done…