Mini Program canvas level is too high, how can it be covered?

Mini Program"s canvas level is too high. Now there is a chart generated with echart. There is a piece in the head that wants to be fixed, but the canvas chart generated by scrolling echart runs on it. How can it block

Sep.16,2021

cover-view learn about

cover-view


encounter the same problem, ask for a solution


I use the hidden echarts to draw the picture, after the operation is completed, let echarts re-display, use wx:if, as for the limitations of cover-view is too many, there is time to select components on the page, so I can not use it.


have you solved this problem? I have also encountered this problem


me too


on native components such as canvas,map, only cover-view cover-image components can be overridden. Currently, button can be nested.


this problem cannot be solved at the moment. You can take a look at the-sharp84 problem on echarts's github.
this head of yours can either be hidden when scrolling, or use the original head of Wechat.


you can dynamically monitor the scrolling distance, and then control the display style of elements near echart

Menu