attachments: {
Attachment(id: "UI_Book_01") {
Button {
print("Tap...")
} label: {
Text("Tap me")
.padding()
.background(.ultraThinMaterial)
}.hoverEffect { effect, isActive, _ in
if isActive {
print("hover...") //Unable to trigger
}
return effect
}
}
}