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
UserGuide
latest
UserGuide 在 mode popup 下存在点击穿透行为
UserGuide 在 mode popup 下不应该有点击穿透行为
import React from 'react'; import { UserGuide, Button, Space, Tag, Switch } from '@douyinfe/semi-ui'; () => { const [visible, setVisible] = useState(false); const showDialog = () => { setVisible(true); }; return ( <div> <Button onClick={showDialog}>开始引导</Button> <br /> <br /> <Space> <Switch id={'basic-demo-1'} defaultChecked={true}></Switch> <Tag id={'basic-demo-2'}> Default Tag </Tag> <Button id={'basic-demo-3'}>确定</Button> </Space> <UserGuide mode="popup" mask={true} visible={visible} steps={[ { target: document.querySelector('#basic-demo-1'), title: '新手引导', description: 'Hello ByteDancer!', position: 'bottom', }, { target: document.querySelector('#basic-demo-2'), title: 'Switch', description: 'This is a Semi Switch', position: 'bottom', }, { target: document.querySelector('#basic-demo-3'), title: 'Button', description: 'This is a Semi Button', position: 'bottom', }, ]} onChange={(current) => { console.log('当前引导步骤', current); }} onNext={(current) => { console.log('下一步引导'); }} onPrev={(current) => { console.log('上一步引导'); }} onFinish={() => { setVisible(false); console.log('引导完成'); }} onSkip={() => { setVisible(false); console.log('跳过引导'); }} /> </div> ); };
- OS: - browser:
No response
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Is there an existing issue for this?
Which Component
UserGuide
Semi Version
latest
Current Behavior
UserGuide 在 mode popup 下存在点击穿透行为
Expected Behavior
UserGuide 在 mode popup 下不应该有点击穿透行为
Steps To Reproduce
ReproducibleCode
Environment
Anything else?
No response
The text was updated successfully, but these errors were encountered: