写了一个页面,上面是搜索框,距离筛选部分还有一段距离。当筛选框与顶部距离为0时吸顶固定。但是现在出现一个问题,筛选框在未吸顶时,点击功能失效,也不报错。如下两张图片:
为了节约大佬们的时间,所以我筛选功能只复现了区域部分,求大佬帮忙看看。demo链接奉上:
关于吸顶筛选框出现的一个bug,找半天没找到原因。求大神帮忙解决?Regarding a bug in the ceiling filter box, I haven't found the reason for a long time. Ask God for help?
关于吸顶筛选框出现的一个bug,找半天没找到原因。求大神帮忙解决?写了一个页面,上面是搜索框,距离筛选部分还有一段距离。当筛选框与顶部距离为0时吸顶固定。但是现在出现一个问题,筛选框在未吸顶时,点击功能失效,也不报错。如下两张图片:
为了节约大佬们的时间,所以我筛选功能只复现了区域部分,求大佬帮忙看看。demo链接奉上:
I wrote a page with a search box on it. There is still a long way to go from the filtering part. When the distance between the screen frame and the top is 0, the ceiling is fixed. But now there is a problem. When the filter box is not topped, the click function fails and no error is reported. The following two pictures: in order to save the time of the big guys, so I only reproduced the area part of the screening function, and asked the boss to help. The demo link is available: https://developers.weixin.qq.com/s/AAHUIcmj7NkA
回答:
被盖住了哦,触发的都是hidebg
有一个覆盖整个页面的view盖在了筛选框上面
在index.wxss的18行加 position: relative; 就行了 如图 但弹出框的定位要你自己调整