How to set the custom navigation bar page of Taro applet development not to slide

After setting the custom navigation bar of the current page, when the page slides, the view of the navigation bar will move up to the status bar. How to fix the page not to slide, if our A page is an index.js file, add index at the same level. The config.js file can be configured as follows:

export default {
     navigationStyle:'custom', 
     disableScroll:true   
}

If it helps, remember to like three times, thank you~

Guess you like

Origin blog.csdn.net/qq_33539839/article/details/119300601