postmanlabs / postman-app-support

Postman is an API platform for building and using APIs. Postman simplifies each step of the API lifecycle and streamlines collaboration so you can create better APIs—faster.
https://www.postman.com
5.85k stars 841 forks source link

UI: Variable Persist/Reset actions don't work when not clicking on the right side #13213

Open mrwensveen opened 1 month ago

mrwensveen commented 1 month ago

Is there an existing issue for this?

Describe the Issue

When you click on the "meatballs" menu icon beside a variable, the actions for Persist and Reset don't get fired if you click on the item's right side.

Steps To Reproduce

  1. Create a new collection or open an existing one
  2. Click on the Variables tab
  3. Add a new variable or pick an existing one
  4. Edit the Current value so that it's different than the Initial value
  5. Click somewhere else so that focus is lost and the value editor disappears
  6. Click on the "meatballs" (ellipsis) beside the edited value
  7. Click on the "Reset" menu item's far right side. The item should still be highlighted.

Nothing happens. Expected: the variable's Current value is reset to the Initial value.

Screenshots or Videos

https://github.com/user-attachments/assets/a75e3d13-7044-41f5-b2ef-9aa33cbe3aeb

Operating System

Windows

Postman Version

11.16.1

Postman Platform

Postman App

User Account Type

Signed In User

Additional Context?

No response