If you hold down the "Open/Close Inventory" button or the "Toggle Perspective" button. It is going to switch between the open and the close inventory super fast, and same thing for the toggle perspective, Just switching between the different perspectives super fast.
Environment
Operating system : Windows 10 Pro
Java Version: 8 update 191
Duplicate of MC-93437.
That already been reported (MC-118107).