Positioned at the bottom of the input box is obtained ios mui development focus raised top of the keyboard positioned by the top head disappearing

j resolved for a long time did not make things right, and happened to see an article between this approach that method, the solution is so easy,

. plus.webview.currentWebview () setStyle ({   
    softinputMode: "adjustResize" // change automatically when the pop-up soft keyboard height of the webview   
});   
directly add this sentence to ok in js Lane,
PS:
I am doing is a chat function room. To add within the chat content area equal to the height of the bottom margin of the bottom of the input box, or incomplete chat content is displayed when the keypad is raised

Guess you like

Origin www.cnblogs.com/lishuang2243/p/11696558.html