riverscuomo / public-bug-hunt

A place to file bug reports for all of my apps
GNU General Public License v3.0
6 stars 0 forks source link

[web] incorrect dropdown position on playlist right-click #16

Closed urbainn closed 1 year ago

urbainn commented 1 year ago

Describe the bug On the web app, in the library, right-clicking a playlist opens a dropdown menu, except it is not correctly positioned, in my browser, it's displayed too much on the right.

To Reproduce Steps to reproduce the behavior:

  1. Go to 'Library'/'Your library'
  2. Right-click on any playlist
  3. Dropdown menu should open, but not where the mouse is

Expected behavior I would have expected the dropdown menu to open where my mouse is currently positioned, or maybe on a fixed point next to the playlist element.

Screenshots If applicable, add screenshots to help explain your problem. These are very helpful! dldldlsdlsdlssdfssdfsdfsdfsbgsddeLA PIERRREdddddddLA DEFENSEdmosdWEEZIFYfsLA MINEdfdcemo

Desktop (please complete the following information):

Smartphone (please complete the following information): N/A

riverscuomo commented 1 year ago

fixed by subtracting 500 from left


  static showContextMenuForSearchOthersPlaylist(
    BuildContext context,
    Offset offset,
    String playlistId,
  ) async {
    final left = offset.dx - 500;