So it seems there will be games on the Switch that can only be played in portable mode. VOEZ is a musical rhythm game that is available for smartphones and the Switch port requires touch screen controls, hence why it can't be played when the Switch is docked. What this basically means is that Nintendo doesn't require developers to build their games with the Switch concept in mind. So much for Switch being a home console first, I guess.
Source