If you are in split view, as you type, the Design View is updated. Many times as you type, this refresh takes place before you finish typing valid XAML, in these instances an error message appears. This error message steals focus away from the XAML editor, oftentimes while you are in the process of typing.
Product?
Product Version?
Issue Type?