We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Anchor
latest
Anchor组件如果初始用display: none隐藏,后面用户点击时再展示出来,会导致左边的灰色滑轨不展示
显示
No response
import React from 'react'; import { Anchor, Button } from '@douyinfe/semi-ui'; () => { const [show, setShow] = useState(false); return ( <> <Button onClick={() => setShow(true)}>Click</Button> <Anchor style={show ? {} : { display: 'none' }}> <Anchor.Link href="#基本示例" title="基本示例" /> <Anchor.Link href="#组件" title="组件" /> <Anchor.Link href="#设计语言" title="设计语言" /> <Anchor.Link href="#物料平台" title="物料平台" /> <Anchor.Link href="#主题商店" title="主题商店" /> </Anchor> </> ); };
- OS: - browser:
Oncall 5353561
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Is there an existing issue for this?
Which Component
Anchor
Semi Version
latest
Current Behavior
Anchor组件如果初始用display: none隐藏,后面用户点击时再展示出来,会导致左边的灰色滑轨不展示
Expected Behavior
显示
Steps To Reproduce
No response
ReproducibleCode
Environment
Anything else?
Oncall 5353561
The text was updated successfully, but these errors were encountered: