XAML TextBox inside Popup gets hidden by on screen keyboard -
in metro application, have page total of textboxes laid out vertically within stackpanel. normally, when user clicks 1 of bottom textboxes, page automatically scrolls upwards focused textbox not obscured on screen keyboard.
but automatic scrolling doesn't seem happen if page displayed within popup. should create popups have same scrolling behavior normal pages?
you're right, popups don't automatically scroll when input pane appears because popups outside of root scroll viewer in main visual tree.
it sounds have rather complex ui within popup. might want consider whether can rework ui outside context of popup in metro-friendly way.
if want seek reposition popups when input pane shows, should able hook inputpane.showing event. have calculations , reset original offset when inputpane hides.
http://msdn.microsoft.com/en-us/library/windows/apps/windows.ui.viewmanagement.inputpane.showing.aspx
xaml textbox popup winrt-xaml on-screen-keyboard
No comments:
Post a Comment