title: WinRT, TextBox's focus, weird behavior
body: <p>in one of my WinRT App's Views, I'd like the <code>BottomAppBar</code> to be displayed when a <code>TextBox</code>loses focus. I played with the <code>GotFocus</code> and <code>LostFocus</code> events with which I can manually change the <code>IsOpen</code> property of the <code>BottomAppBar</code> accordingly.</p>
  
  <p>Problem is, when the <code>BottomAppBar</code> is open, if the user clicks on the <code>TextBox</code>, the <code>BottomAppBar</code> is closed (standard AppBar behavior), but the <code>TextBox</code> is not focused (even though the user clicked right on it). The user needs to focus the <code>TextBox</code> again to be able to type something again.</p>
  
  <p>If I hook myself up in the <code>Closed</code> event of the <code>BottomAppBar</code> to try and programmatically set the focus to the <code>TextBox</code>, it shortly becomes focused, but loses the focus right away and instead, its ScrollViewer gets focused.</p>
  
  <p>Any idea why the <code>TextBox</code> loses the focus the second time?
  Any idea how I can do what I'm trying to achieve?</p>
  
  <p>Thanks!</p>