diff --git a/ElementX/Sources/Screens/RoomScreen/View/Style/TimelineItemBubbledStylerView.swift b/ElementX/Sources/Screens/RoomScreen/View/Style/TimelineItemBubbledStylerView.swift index bb14e06d6..dd87a7c4b 100644 --- a/ElementX/Sources/Screens/RoomScreen/View/Style/TimelineItemBubbledStylerView.swift +++ b/ElementX/Sources/Screens/RoomScreen/View/Style/TimelineItemBubbledStylerView.swift @@ -96,6 +96,8 @@ struct TimelineItemBubbledStylerView: View { alignment: alignment) { key in context.send(viewAction: .toggleReaction(key: key, eventID: timelineItem.id)) } + // Workaround to stop the message long press stealing the touch from the reaction buttons + .onTapGesture { } } } } diff --git a/ElementX/Sources/Screens/RoomScreen/View/Style/TimelineItemPlainStylerView.swift b/ElementX/Sources/Screens/RoomScreen/View/Style/TimelineItemPlainStylerView.swift index 34af5b7e7..a1c429860 100644 --- a/ElementX/Sources/Screens/RoomScreen/View/Style/TimelineItemPlainStylerView.swift +++ b/ElementX/Sources/Screens/RoomScreen/View/Style/TimelineItemPlainStylerView.swift @@ -119,6 +119,8 @@ struct TimelineItemPlainStylerView: View { alignment: .leading) { key in context.send(viewAction: .toggleReaction(key: key, eventID: timelineItem.id)) } + // Workaround to stop the message long press stealing the touch from the reaction buttons + .onTapGesture { } } } }