I tried placing a stained glass block on top of a beacon in creative while flying and sneaking, but it just opens the beacon UI.
Edit: I tried it with different blocks and nothing works.
Linked issues
duplicates 1
Comments 2
also duplicate of MC-147290
Works as intended I'm afraid. It's a hastily made fix for MC-146272