I think one problem with using this item in a tub or shower is that it doesn't hold well if you have to attach it to a wall made up of small tiles, especially ones with a shiny surface. I wouldn't trust it to not come loose. We tried ours several times but I really didn't have confidence in it.
Might work well to hold rulers in place, though!