Open Bug 1908442 Opened 3 months ago

Custom Push Action and Custom Job Action modal dialogs not closed when user presses 'Trigger' button

Categories

(Tree Management :: Treeherder: Frontend, defect)

defect

Tracking

(Not tracked)

ASSIGNED

People

(Reporter: aryx, Assigned: aryx)

Details

This is a regression from the upgrade to React 18. setState (to set it from triggering state to non-triggering state) is asynchronous and the method in which it gets set calls this.close() itself. Put that call as callback of these setState calls.

You need to log in before you can comment on or make changes to this bug.