mirror of
https://github.com/open-webui/open-webui.git
synced 2026-10-11 03:38:02 +00:00
fix: swiping to reply to a channel message on a phone also opens the sidebar (#32178)
On a phone, swiping right on a channel message to reply to it also opened the sidebar, which slid over the channel and covered the message. A swipe on a message now only starts the reply. On messages that cannot be replied to, for example in a read-only channel, the same swipe still opens the sidebar. Fixes #32016
This commit is contained in:
parent
f7727e24b9
commit
92f283bba5
1 changed files with 1 additions and 0 deletions
|
|
@ -169,6 +169,7 @@
|
|||
{#if message}
|
||||
<div
|
||||
class="swipe-reply-wrapper relative"
|
||||
data-sidebar-no-gesture={disabled || edit ? undefined : ''}
|
||||
on:touchstart={handleTouchStart}
|
||||
on:touchmove={handleTouchMove}
|
||||
on:touchend={handleTouchEnd}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue