The Suns had just won for the first time in six games, beating the Dallas Mavericks 102-88 on Wednesday at Talking Stick Resort Arena, but the mood in the Phoenix locker room was muted.

Instead of celebrating, the Suns were lamenting the gruesome left ankle injury suffered by teammate Isaiah Canaan late in the first quarter. As Canaan was going up for a driving layup, he collided with Dallas’ Wesley Matthews and his ankle bore the brunt of his fall.

Matthews immediately buried his face in his hands as he saw Canaan on the ground, his ankle pointing in the wrong direction. The crowd gasped, several of the Suns visibly recoiled, and Devin Booker pulled his warm-up shirt over his face.

As Canaan was attended to, team orthopedic doctor Tom Carter put Canaan’s ankle back into place. Canaan was lifted onto the stretcher and, sitting up, wheeled off the playing floor.

The diagnosis came a few minutes later. Canaan had fractured his left ankle, ending his season. Canaan will have surgery on the ankle Thursday, interim coach Jay Triano said.

“It’s so disappointing,” Triano said. “I feel bad for the kid.”

Triano called a timeout following the injury to try to get his team to re-focus.

“It’s hard for fans and everyone sitting right there and teammates especially, a guy they battle with every day, it’s their friend on and off the court,” he said. “I used the timeout to let us say a quick prayer. … Not much we can do. He was in the hands of our medical staff and we trust they do their job and we had to keep doing ours.”