zauberzeug / nicegui

Create web-based user interfaces with Python. The nice way.
https://nicegui.io
MIT License
10.01k stars 594 forks source link

right click on 3d scene sometimes also makes it pan #3552

Open h0uter opened 2 months ago

h0uter commented 2 months ago

Description

  1. Using the example for 3d scene right click I run into the following bug: Sometimes panning is also triggered on right click leading to a chaotic experience if a user leaves the context menu with the mouse.

Screen Recording 2024-08-20 at 22 18 50

  1. I expect panning not to be triggered at the same time as triggering the context menu (right click)
  2. panning is triggered sometimes
falkoschindler commented 2 months ago

Hi @h0uter,

Somehow I can't reproduce the problem with Chrome, Firefox and Safari on Mac. So it's hard to tell what's going on. Can anyone else reproduce it?