A viral video from the signing event showed Trump entering the East Room of the White House to sign the legislation, but also appeared to show him making his way out of the room before signing the bipartisan bill.

Melania Trump appeared to direct her husband to return to sign the bill, prompting laughter from those in the room.

My God -- Trump started to leave the event without even signing the opioid bill, but turned after he was reminded to sign it by Melania pic.twitter.com/jzqBfWeMow

The bipartisan bill, which was passed by Congress earlier this month, includes dozens of treatment and enforcement provisions authored by hundreds of lawmakers representing states devastated by the opioid epidemic.

The bill also reauthorizes funding for the 21st Century Cures Act and lifts some restrictions on using Medicaid funding for opioid treatment.

Trump, last year, went viral for a similar incident after he left the Oval Office without signing two new executive orders aimed at tackling longstanding concerns around trade enforcement.