Home GnuPG

Hide dropdown menus when users click workflow items
a4a948561283Unpublished

Unpublished Commit ยท Learn More

Repository Importing: This repository is still importing.

Description

Hide dropdown menus when users click workflow items

Summary:
In D16157, dropdown menus got an overly-broad check for not closing when an item is clicked.

Specifically, we don't want to close the menu if the item is really opening a submenu, like "Edit Related Objects..." does on mobile.

The check for this is too broad, and also doesn't close the menu if the item has workflow.

Instead, use a narrower check.

Test Plan:

  • Menu still stays open when toggling submenus like "Edit Related Objects".
  • Menu now closes properly when using workflow items like "Edit Comment" or "Remove Comment".

Reviewers: chad

Reviewed By: chad

Differential Revision: https://secure.phabricator.com/D17210

Details

Provenance
epriestley <git@epriestley.com>Authored on Jan 16 2017, 10:31 PM
Parents
rPHAB903e37a21b50: Show yellow "draft" bubble in Audit
Branches
Unknown
Tags
Unknown

Event Timeline

epriestley <git@epriestley.com> committed rPHABa4a948561283: Hide dropdown menus when users click workflow items (authored by epriestley <git@epriestley.com>).Jan 16 2017, 10:38 PM