Skip to content
New issue

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

fix: 修复scale缩放导致tour错位 #49745 #64

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

clydee-geng
Copy link

问题:
antd的Tour组件有一个bug:scale缩放导致tour错位 #49745 ,经排查是底层依赖组件@rc-component/tour的问题。
解决思路:
body tranform:scale(0.5) 之后,tour定位的top和left也需要对应的缩小0.5倍,这样就不会错位了

Copy link

vercel bot commented Aug 14, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
tour ✅ Ready (Inspect) Visit Preview 💬 Add feedback Aug 14, 2024 0:22am

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant