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

anchor had className “fixed” when set affix=false #4931

Closed
1 task done
aov2005 opened this issue Nov 26, 2021 · 4 comments
Closed
1 task done

anchor had className “fixed” when set affix=false #4931

aov2005 opened this issue Nov 26, 2021 · 4 comments

Comments

@aov2005
Copy link

aov2005 commented Nov 26, 2021

  • I have searched the issues of this repository and believe that this is not a duplicate.

Version

2.2.8

Environment

vue 3.2

Reproduction link

fixed: !affix && !showInkInFixed,

Steps to reproduce

<a-anchor :affix="false" ></a-anchor>
---to---
<div class="ant-anchor fixed"></div>

What is expected?

<div class="ant-anchor ant-fixed"></div>

What is actually happening?

与tailwind冲突,能否增加前缀?如 ant-fixed

@aov2005
Copy link
Author

aov2005 commented Nov 26, 2021

classNames(pre, {
        fixed: !affix && !showInkInFixed,
      })

看到有加前缀了,那应该是bug了

@zkwolf
Copy link
Member

zkwolf commented Nov 26, 2021

看了一下ant design,应该是没前缀

@aov2005
Copy link
Author

aov2005 commented Nov 27, 2021

看到 ant design 居然一样,好像也没生效不知道干啥的

@github-actions
Copy link

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Nov 29, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants