MuckRock / documentcloud-frontend

DocumentCloud's front end source code - Please report bugs, issues and feature requests to info@documentcloud.org
https://www.documentcloud.org
GNU Affero General Public License v3.0
18 stars 5 forks source link

Dismissing an add-on closes the process window #857

Open mitchelljkotler opened 1 day ago

mitchelljkotler commented 1 day ago

Dismissing an add-on closes the processing window, which makes dismissing multiple add-on runs tedious. This is low priority.

allanlasser commented 1 day ago

I've narrowed down this issue to our Dropdown component's closeOnEventOutside handler. The dropdown is closing because the dismiss button fails a check for dropdown.contains(event.target). I'm not sure why this is happening, as the button is definitely in the dropdown node's tree.