The ButtonStyleConfiguration’s isPressed property don't change properly when used in List

When tap the Button quickly in List, the ButtonStyleConfiguration’s isPressed property don't change properly, always false. When using Button in ScrollView, the same error doesn't exist.

Answered by hengyi-zhang in 869819022

workaround: wrap the Button with VStack

Accepted Answer

workaround: wrap the Button with VStack

The ButtonStyleConfiguration’s isPressed property don't change properly when used in List
 
 
Q