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

[table] 在弹窗里超长hover显示不全 #2657

Closed
guoqirong opened this issue Dec 11, 2023 · 11 comments
Closed

[table] 在弹窗里超长hover显示不全 #2657

guoqirong opened this issue Dec 11, 2023 · 11 comments
Labels
💭 discussion we are discussing

Comments

@guoqirong
Copy link

tdesign-react 版本

1.3.0

重现链接

No response

重现步骤

image
当表格位于弹窗里,文案很长,hover显示不全

期望结果

hover能看到全部数据

实际结果

No response

框架版本

No response

浏览器版本

No response

系统版本

No response

Node版本

No response

补充说明

No response

Copy link
Contributor

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

Copy link
Contributor

♥️ 有劳 @yunfeic @tengcaifeng @Yacent @basecss 尽快确认问题。
确认有效后将下一步计划和可能需要的时间回复给 @guoqirong

@HaixingOoO HaixingOoO added example Something about example need more info 需要更多信息理解 issue 的问题 labels Dec 11, 2023
@HaixingOoO
Copy link
Collaborator

@guoqirong 您好,可以的话完善点信息,比如给个Example(例子)我们好排查和修复,谢谢!!!

@chaishi
Copy link
Collaborator

chaishi commented Dec 11, 2023

给 table 加一个属性 attach='.t-dialog' ,让浮层都挂载到外层的 Dialog 组件就好了

  • attach='.t-dialog'
  • attach={() => document.querySelector('.t-dialog')}

非 Dialog 场景,可以挂载到 body

@chaishi chaishi removed example Something about example need more info 需要更多信息理解 issue 的问题 labels Dec 11, 2023
@guoqirong
Copy link
Author

image
我挂载到body,但实际没生效

@HaixingOoO
Copy link
Collaborator

image 我挂载到body,但实际没生效

非 Dialog 场景,可以挂载到 body,现在你要挂载在dialog里

@guoqirong
Copy link
Author

guoqirong commented Dec 11, 2023

挂dialog也不生效,不管配置什么,都在table里

@guoqirong
Copy link
Author

image
找到隐藏原因,被这个样式给隐藏了

@HaixingOoO
Copy link
Collaborator

image 找到隐藏原因,被这个样式给隐藏了

您好,您现在样式去掉overflow:auto;可以解决这个问题吗?

@guoqirong
Copy link
Author

是的,去掉这个就正常显示了

@HaixingOoO HaixingOoO added the 💭 discussion we are discussing label Dec 12, 2023
@chaishi
Copy link
Collaborator

chaishi commented Jan 18, 2024

看上去没有问题了,issue close

@chaishi chaishi closed this as completed Jan 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
💭 discussion we are discussing
Projects
None yet
Development

No branches or pull requests

3 participants