's Avatar

@jonulak

17
Followers
159
Following
2
Posts
15.11.2024
Joined
Posts Following

Latest posts by @jonulak

You could also create a custom environment modifier as this approach will cause native components to have their opacity reduced multiplicatively.

02.12.2024 21:39 👍 1 🔁 0 💬 0 📌 0
Preview
DisableableView.swift GitHub Gist: instantly share code, notes, and snippets.

You could make this work with the disabled modifier and associated isEnabled environment variable. See example int gist.

02.12.2024 21:31 👍 0 🔁 0 💬 1 📌 0