The bug
When a player in Creative mode empties a flower pot, the contents of the flower pot (i.e., flower, mushroom, etc) are put into the player's currently selected slot. This is inconsistent with how other blocks and item frames work in Creative mode.
Related issues
discovered while testing
Comments

Probably relates to MC-169496. Were it not marked WAI it'd fix this issue.