A bug about the penetration of the placeholder of the textarea component of the WeChat applet

Bug formation conditions : As shown in the figure below, when using the textarea component, the placeholder will penetrate the pop-up component and stay at the top of the page. Since the textarea is a native component, it cannot be covered by setting the level, unless it is also native components.

 Solution ideas: 1. It can be covered by the cover-view component, which is also a native component, and the pop-up window component can be rewritten with cover-view.

                    2. Use the view component to simulate the textarea component, display the view component when the pop-up window is displayed, and display the textarea component when the pop-up window is hidden

Guess you like

Origin blog.csdn.net/qq_35408366/article/details/128447213