XboxYan / xy-ui

🎨面向未来的原生 web components UI组件库
https://xy-ui.codelabo.cn/
MIT License
1.2k stars 161 forks source link

/xy-select #16

Open XboxYan opened 5 years ago

XboxYan commented 5 years ago

https://xy-ui.codelabo.cn/docs/#/xy-select

Description

XboxYan commented 5 years ago

移动端qq浏览器disabled禁用无效,同xy-button

XboxYan commented 5 years ago

😶重构中,基于xy-popover

huangdalin-web commented 4 years ago

没有多选搜索input select ??

XboxYan commented 4 years ago

@huangdalin-web 没有多选搜索input select ??

考虑中,后续会加上

huangdalin-web commented 4 years ago

react typescript 环境下 会报错,导致无法使用:类型“JSX.IntrinsicElements”上不存在属性“xy-select”。 小小建议可以用typescript 写。。

XboxYan commented 4 years ago

@huangdalin-web react typescript 环境下 会报错,导致无法使用:类型“JSX.IntrinsicElements”上不存在属性“xy-select”。 小小建议可以用typescript 写。。

没有测试过typescript,理论上是没问题的, 暂不考虑用typescript写,原生js也没有碰到特别棘手的问题,也无需编译打包等一系列的处理

LiuZHolmes commented 4 years ago

@huangdalin-web react typescript 环境下 会报错,导致无法使用:类型“JSX.IntrinsicElements”上不存在属性“xy-select”。 小小建议可以用typescript 写。。

https://wespeter.com/posts/consuming-web-component-react-typescript/ 用是可以用,但似乎不能完美兼容......

XboxYan commented 4 years ago

比较崇尚原生,不希望增加一堆第三方依赖或者打包编译的过程

Topxue commented 2 years ago

没有下拉多选吗??

HMYang33 commented 1 year ago

下拉选择器弹出在下面,有时因为屏幕高度不够,有些选项被挡住导致选不到