hobeas
hobeas
我今天也遇到这个问题,看了一下提交历史,原来是3.7.1版本, 回滚了`segmented-controllers.js`,**默认不支持选项卡跳转**,作者@hbcui1984 说:“开发者若有需求,应该写js代码实现跳转”。一个tab切换还要手动写js,唉~ 默默回退到3.4.0版本😂😂
I had the same problem, adding `import 'react'` didn't fix it. OS version: Darwin x64 19.6.0 Bun version: v1.0.0 Reproduction steps: Initialize the project with `bun init`, add `react.tsx`, then...
@Adnanear thx. It can be resolved by installing `react`. Unchanged `compilerOptions.jsx`, kept as `preserve`.
1. 看源码,这根线高度是由内容撑开的,不能定制 2. 不过可用些小手段隐藏它。即给最后一项的 icon 加个高度和背景的样式  3. 效果