UBI would have an inflationary effect, but it wouldn't be that every merchant would suddenly demand all of the UBI surplus because there are scores to hundreds of businesses that a given person buys from each month and they can't all get the full UBI increment, for at least two reasons: 1. They are jointly going to consume the UBI amount, not individually and 2. Many people would be paying higher taxes (in order to pay net UBI to people paying taxes&transfers which are zero or net-negative once UBI is included) and many of those people would see a net decrease in spendable money versus today.
It's a fantastic game theory playground.
Note that UBI is effectively "everyone gets extra income" for the poorest parts of society, so things only poor people buy will get some inflationary effect.
That being said, I note that there is a proliferation around military bases of auto dealers who happen to accept down payments of the exact signing bonuses of new recruits.