title: Flutter Override PopupMenuButton Widget to prevent soft keyboard to close
body: <p>In my flutter mobile application, I use a PopupMenuButton placed at the bottom of the view. If I click on it, the soft keyboard is dismissed because the text input looses the focus I guess. So the popup menu does not show at the right place.</p>
  
  <p>I would like to override this behavior to prevent PopupMenuButton to close the keyboard. Maybe by extending the PopupMenuButton class ? But I don't really know how to do it.</p>
  
  <p>Keyboard open before click on button:</p>
  
  <p><img src="https://i.stack.imgur.com/T7yP2.png" width="250"></p>
  
  <p>Menu not in the right place:</p>
  
  <p><img src="https://i.stack.imgur.com/V3lWc.png" width="250"></p>