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

[Grid] hover 属性设置为true 点击貌似没有效果显示 #2501

Closed
pyzworld opened this issue Dec 16, 2023 · 3 comments · Fixed by #2508
Closed

[Grid] hover 属性设置为true 点击貌似没有效果显示 #2501

pyzworld opened this issue Dec 16, 2023 · 3 comments · Fixed by #2508
Labels
bug Something isn't working

Comments

@pyzworld
Copy link

tdesign-miniprogram 版本

重现链接

重现步骤

点击grid item 没有hover 效果

期望结果

No response

实际结果

No response

基础库版本

3.0.2

补充说明

No response

Copy link
Contributor

👋 @pyzworld,感谢给 TDesign 提出了 issue。
请根据 issue 模版确保背景信息的完善,我们将调查并尽快回复你。

@pyzworld
Copy link
Author

<t-grid class="block" column="{{ 3 }}" theme="card" hover="{{ true }}"> <t-grid-item text="标题文字" image="https://user-images.githubusercontent.com/15634204/157386871-bf84c2ea-a02f-4c1c-b6fd-577450cdbcf7.png" url="/pages/graphics/taper/index"/> </t-grid>

@betavs
Copy link
Collaborator

betavs commented Dec 21, 2023

--td-grid-item-bg-color: transparent

暂时可以设置 item 的背景色为透明以解决此问题

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
2 participants