WASHINGTON (AP) — Republicans on Capitol Hill frantically searched on Tuesday for ways to end the Trump administration's policy of separating families after illegal border crossings, with the focus shifting on a new plan to keep children in detention longer than now permitted — but with their parents.

House GOP leaders are revising their legislation amid a public outcry over the administration's "zero tolerance" approach to illegal crossings. The change would loosen rules that now limit the amount of time minors can be held to 20 days, according to a GOP source familiar with the measure. Instead, the children could be detained with their parents for extended periods.

The revised bill would also give Department of Homeland Security the authority to use $7 billion in border technology funding to pay for family detention centers, the person said. Expanded facilities could be key, as migrant children separated from their parents are currently housed by a different department, Health and Human Services.

The person providing the information on the proposal was not authorized to do so by name and commented only on condition of anonymity.

House Republicans scrambled to update their approach ahead of a visit from President Donald Trump to discuss a broader immigration overhaul that is to be voted on this week. Trump called for Congress to approve the so-called third option on Tuesday.

"So what I'm asking Congress to do is to give us a third option, which we have been requesting since last year, the legal authority to detain and promptly remove families together as a unit," Trump said. "We have to be able to do this. This is the only solution to the border crisis."

Trump's meeting at the Capitol comes as lawmakers in both parties are up in arms after days of news reports showing images of children being held at border facilities in cages and an audio recording of a young child pleading for his "Papa."

The issue boiled over Tuesday at a House hearing on an unrelated subject when protesters with babies briefly shut down proceedings.

Maryland Rep. Elijah Cummings, the top Democrat on the House Oversight and Government Reform Committee, pleaded with Republicans on the panel to end what he called "internment camps."

"We need you, those children need you —and I am talking directly to my Republican colleagues— we need you to stand up to President Donald Trump," he said.

Under the current policy, all unlawful crossings are referred for prosecution — a process that moves adults to the custody of the U.S. Marshals Service and sends many children to facilities run by the Department of Health and Human Services. Under the Obama administration, such families were usually referred for civil deportation proceedings, not requiring separation.

More than 2,300 minors were separated from their children at the border from May 5 through June 9, according to the Department of Homeland Security.

The national outcry over the separations has roiled midterm election campaigns, emboldening Democrats while putting Republicans on the defensive.

Top conservatives, including key Trump allies, have introduced bills to keep the migrant families together. Sen. Ted Cruz of Texas introduced legislation that the White House said it was reviewing, and Rep. Mark Meadows of North Carolina, a leader of the conservative Freedom Caucus, also introduced a measure.

"While cases are pending, families should stay together," tweeted Cruz, who is in an unexpectedly tough re-election battle. He introduced his own bill to speed up court proceedings to no more than 14 days. "Children belong with their families," he said.

Both bills seemed to be longshots. "This becomes a backup proposal," Meadows told reporters at the White House.

From afar, ailing Sen. John McCain, R-Ariz., tweeted, "The administration's current family separation policy is an affront to the decency of the American people and contrary to principles and values upon which our nation was founded. The administration has the power to rescind this policy. It should do so now."

The Trump administration insists the family separations are required under the law. But after signaling Monday that it would oppose any fix aimed solely at addressing that issue, the White House said Tuesday it was reviewing the emergency legislation being introduced by Cruz to keep migrant families together.

The senator's bill would add more federal immigration judges, authorize new temporary shelters to house migrant families, speed the processing of asylum cases and require that families that cross the border illegally be kept together, absent criminal conduct or threats to the welfare of any children.

The two immigration bills under consideration in the House could address the separations, but the outlook for passage is dim. Conservatives say the compromise legislation that GOP leaders helped negotiate with moderates is inadequate.

Rep. Jim Jordan, R-Ohio, a member of the Freedom Caucus, said he's skeptical that even a full-throated endorsement from Trump will be enough to get the compromise bill through the House.

The compromise bill in the House shifts away from the nation's longtime preference for family immigration to a new system that prioritizes entry based on merits and skills. It beefs up border security, clamps down on illegal entries and reinforces other immigration laws.

To address the rise of families being separated at the border, the measure proposes keeping children in detention with their parents, undoing 2-decade-old rules that limit the time minors can be held in custody.

Rep. Bob Goodlatte R-Va., chairman of the Judiciary Committee, is reworking the family separation provision in the compromise bill, a GOP aide said Tuesday.

Faced with the prospect of gridlock in the House, senators appear willing to take matters into their own hands.

John Cornyn of Texas, the No. 2 Republican leader, said Senate Republicans are working on language to address the family separations that could receive a floor vote, potentially as part of a spending bill package.

GOP senators including Lindsey Graham of South Carolina, Jeff Flake of Arizona and Susan Collins of Maine also said they've been discussing family separation legislation.

The administration, meanwhile, is hoping to force Democrats to vote for the bills or bear some of the political cost in November's midterm elections. Democrats brushed aside that pressure.

"As everyone who has looked at this agrees, this was done by the president, not Democrats. He can fix it tomorrow if he wants to, and if he doesn't want to, he should own up to the fact that he's doing it," said Senate Democratic leader Chuck Schumer of New York.

More From KTEM-AM