divadretlaw / CustomAlert

🔔 Custom Alert for SwiftUI
MIT License
196 stars 18 forks source link

Textfield disabled #2

Closed JorgeFrias closed 1 year ago

JorgeFrias commented 1 year ago

When adding a text field on the alert (both body and actions) the field cannot be selected. Am I missing something?

BTW, amazing project!

divadretlaw commented 1 year ago

Ah yes, thank you for submitting this issue. The Custom Alert will start scrolling if the content is too big to fit, so per default the scrolling is disabled via the .disabled modifier but the Environment is wrongfully propagated to the content of the alert.

divadretlaw commented 1 year ago

Should be fixed with v2.1.2

JorgeFrias commented 1 year ago

Thanks!