Jennifer Lopez
Jennifer Lopez's exes Marc Anthony and Casper Smart hang out together. Pictured: Lopez visits the Build Series Presents Jennifer Lopez And Ray Liotta Discussing "Shades Of Blue" at Build Studio on March 2, 2017 in New York City. Getty Images/Jamie McCarthy

Jennifer Lopez's exes, Marc Anthony and Casper Smart, recently spent some time together.

On Monday, Smart took to Instagram to share a photo of himself with Anthony. "If you've never seen his show you are really missing out. A Truly captivating performer! Thanks for taking care of my people and I @marcanthony much appreciated! #miami #alllove #respect," the dancer wrote in the caption.

According to Us Weekly, the two hung out after Anthony's concert in Miami at the American Airlines Arena over the weekend. However, Smart's photo with Anthony received mixed reactions from his followers as the two were both previously involved with Lopez. "Kinda awkward," one user commented.

"It's so weird," user xoxo_love_nadia wrote.

Meanwhile, some were happy to see Smart and Anthony spend some time together. "Wow cool, 2 exes of jlo get along....mmm," princessanna_cruz wrote.

While most were surprised to see Lopez's exes together, another fan took the time to explain why it is not so surprising to see Anthony and Casper together. According to one user, there were no issues in their past romance with the "On the Floor" singer as they were not dating her at the same time.

"They didn't take each other women while they were with [Lopez] when Marc was with Jlo Casper didn't even exist for them and when Casper was with Jlo, Marc was already married to another woman so she why would they be enemies or not like each other," jowel0123 commented on Smart's photo.

Lopez was married to Anthony in 2004. After seven years of marriage, however, the two performers agreed to end their marriage. The couple shares 9-year-old twins Max and Emme.

Following their split, Lopez dated Smart, who was her backup dancer at the time. The pair had an on-and-off relationship from 2011 to 2016. After Smart, Lopez was romantically linked to Drake and then to her current boyfriend, Alex Rodriguez.

Lopez has been dating the former pro athlete for a couple of months now. Fortunately, both of her exes, Smart and Anthony, get along with her new love.

"It's all respect and love," Casper said about Lopez's current boyfriend, Rodriguez. "[He's] an incredibly nice guy."

What can you say about Lopez's exes hanging out? Drop a comment below.