I am using WebImages views and am trying to apply the .fade transition. I'm able to get the fade transition to work by just applying the .animation() modifier to a WebImage, but I only want the fade to transition, not any other properties (position, size, etc.). I have tried other variations of the .transition modifier such as .transition(AnyTransition.opacity.animation(Animation.default)) and nothing works. I found that people have run into similar issues and their solution is to also apply .zIndex(1), but adding that didn't work either.
I've got a similar issue. I try to apply a transition to a parent view & the parent view and all other views will transition properly but the child view does not.
I am using WebImages views and am trying to apply the .fade transition. I'm able to get the fade transition to work by just applying the .animation() modifier to a WebImage, but I only want the fade to transition, not any other properties (position, size, etc.). I have tried other variations of the .transition modifier such as
.transition(AnyTransition.opacity.animation(Animation.default))
and nothing works. I found that people have run into similar issues and their solution is to also apply .zIndex(1), but adding that didn't work either.