It would, leading to more resources going towards producing those goods. A UBI is price signal indicating the needs no/low income people matter.
Maybe it would be too politically unpopular, lead to too much spending on vices, or some other issue, but inflation shouldn't be a concern unless those particular goods are of a fixed quantity over the long term.