Stardew Valley Museum bug
Solution 1:
This seems to be a rather widespread known bug. Anecdotally speaking, I've encountered this on my Switch as well.
The solution appears to be to scroll to the spot you want to place the item before you select your donation, select which item you want to donate, and don't scroll the screen as you place your donation.