diff --git a/Telegram/SourceFiles/history/history_view_swipe.cpp b/Telegram/SourceFiles/history/history_view_swipe.cpp index d878ffbd4..42d3ec160 100644 --- a/Telegram/SourceFiles/history/history_view_swipe.cpp +++ b/Telegram/SourceFiles/history/history_view_swipe.cpp @@ -189,7 +189,9 @@ void SetupSwipeHandler( .touch = true, }); } - return base::EventFilterResult::Cancel; + return (touchscreen && state->orientation != Qt::Horizontal) + ? base::EventFilterResult::Continue + : base::EventFilterResult::Cancel; } break; case QEvent::Wheel: { const auto w = static_cast(e.get());