morethanwords / tweb

Telegram Web K, GPL v3
https://web.telegram.org/k/
GNU General Public License v3.0
1.86k stars 595 forks source link

[BUG] RMB menu to schedule/silent send vanishes in new attach pic panel #200

Closed Younes-L closed 1 year ago

Younes-L commented 1 year ago

Describe the bug Since 7c988c4 (291) , trying to schedule or send a picture without sound, the menu is closed immediately before can click with mouse.

To Reproduce Steps to reproduce the behavior:

  1. Go to any chat where can send picture
  2. Click on 📎 attach button and select a picture. Or, paste a picture from clipboard
  3. Make sure the pic is being sent compressed (default, "as media", not "as file")
  4. Right click the "send" button in the attach panel
  5. Click "send without sound" or "schedule message"

Expected behavior User is able to click "send without sound" or "schedule message"

Actual behaviour The right click menu disappears as soon as mouse starts moving towards it.
Additionally , the menu appears in a weird position : same position as the ... overflow menu, instead of appearing close to the send button.

Screenshots image image

Desktop (please complete the following information):

morethanwords commented 1 year ago

Fixed in build 302.