icestack icon indicating copy to clipboard operation
icestack copied to clipboard

wexin-preset button base存在不兼容的情况

Open JinhuaSu opened this issue 10 months ago • 2 comments

生成的my-ui 使用wexin-preset build得到的my-ui/css/components/button/base.css

/* radio input and checkbox as button */ :where(.btn:is(input[type=checkbox])),:where(.btn:is(input[type=radio])) { width: auto; appearance: none }

微信是不兼容的,app.wxss会识别[]选择器错误,注释掉问题解决

经查看,可能是在这一块修改代码逻辑,目前没时间,先抛出issue,有空看看能否贡献一下 https://github.com/sonofmagic/icestack/blob/main/presets/preset-weapp/src/components/button.ts

JinhuaSu avatar May 05 '24 14:05 JinhuaSu