In my use case, there's an input field for user to type some text with keyboard. After user click search button on keyboard, a new pane will be created immediately, and the keyboard will close at the same time.
however, it seems that the bottom of the pane will be in the middle of the screen, which is the top position of the keyboard which is already closed.
Instead of create the pane with a small delay, is there any better way to re-calculate the position of the pane?
Thanks very much!