WeChat Mini Programs customizes the head. when the page scrolls, the head scrolls along with it and will not be fixed at the top.

customize the header by setting navigationStyle:"custom",. When the page scrolls, the header scrolls along with it and is not fixed at the top. It is not possible to absolutely position the header

.
May.13,2021

where does the fixed head refer to the screenshot
you gave?


header A view
scrolling scroll-view


absolute positioning is not possible? Have you defined top:0; ? if not, use fixed location to try


position: fixed;

have you solved this problem


https://codeshelper.com/q/10.
? can you help me solve the problem [similar to this problem]
js is set

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1ea7200-47c06.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1ea7200-47c06.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?