Skip to content

Commit

Permalink
Merge pull request #28 from jaesung-0o0/feature/jaesung/scrollable-lo…
Browse files Browse the repository at this point in the history
…ng-press

[FIX] Fixed issue that the list isn't scrolled when tap message row
  • Loading branch information
x-0o0 authored May 8, 2023
2 parents d0aa175 + 2cffa1f commit 93cef63
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Sources/ChatUI/ChatInChannel/MessageRow.swift
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,7 @@ public struct MessageRow<M: MessageProtocol>: View {
// MARK: Message bubble
MessageView(style: message.style, isMyMessage: isMyMessage, lineLimit: lineLimit)
.zIndex(0)
.onTapGesture { }
.onLongPressGesture {
withAnimation(.easeInOut) {
let _ = Empty<Void, Never>()
Expand Down

0 comments on commit 93cef63

Please sign in to comment.