parse-dashboard icon indicating copy to clipboard operation
parse-dashboard copied to clipboard

Context menu offset incorrect

Open mtrezza opened this issue 11 months ago â€ĸ 7 comments

New Issue Checklist

Issue Description

The context menu offset is incorrect, requiring extra mouse movement to reach for example a script. Classifying this as a UX bug, since this is not how foldable menus usually work.

Steps to reproduce

  1. Configure dashboard to have 1 script in _User class.
  2. Right-click on object in data browser and move mouse over "Scripts" in context menu.

Actual Outcome

Script list item is at the top of the menu.

Screenshot 2024-12-23 at 01 12 21

Expected Outcome

Screenshot 2024-12-23 at 01 12 21 copy

Environment

Dashboard

  • Parse Dashboard version: 6.0.0

mtrezza avatar Dec 23 '24 00:12 mtrezza

🚀 Thanks for opening this issue!

â„šī¸ You can help us to fix this issue faster by opening a pull request with a failing test. See our Contribution Guide for how to make a pull request, or read our New Contributor's Guide if this is your first time contributing.

🎉 This change has been released in version 7.0.1-alpha.1

parseplatformorg avatar Apr 05 '25 23:04 parseplatformorg

Re-opened, as the issue has not been completely resolved. The context menu position is now incorrect when selecting the last row item:

Image

@dblythy could you please take a look?

mtrezza avatar Apr 06 '25 21:04 mtrezza

🎉 This change has been released in version 7.1.0

parseplatformorg avatar May 01 '25 10:05 parseplatformorg

🎉 This change has been released in version 7.2.0-alpha.4

parseplatformorg avatar May 24 '25 18:05 parseplatformorg

@dblythy The issue seems to still exist for the last item "Scripts". In that case the submenu unfolds always at the top:

Image

Interestingly, for the middle item it unfolds at the correct position:

Image

mtrezza avatar May 25 '25 12:05 mtrezza

🎉 This change has been released in version 7.2.0

parseplatformorg avatar Jun 01 '25 15:06 parseplatformorg