They had plenty of other romances (Riker especially) and would even periodically check to make sure that the other was alright with a new partner when that person was somehow important to their former love.
While Riker and Troi did, in fact, marry, that didn’t happen until Star Trek: Nemesis, the last of the movies featuring the cast of TNG.
You know, like that time Troi found herself falling for an exact copy of Riker’s younger self.
Most of the time the two characters spent on the show saw them put aside any personal feelings and be able to work as close friends.