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

[Sticky] react组件实现不出dome的效果 #369

Open
chaoxiao123 opened this issue Nov 22, 2023 · 1 comment
Open

[Sticky] react组件实现不出dome的效果 #369

chaoxiao123 opened this issue Nov 22, 2023 · 1 comment

Comments

@chaoxiao123
Copy link

tdesign-mobile-react 版本

0.3.1

重现链接

No response

重现步骤

1
2
问题一、typescript检查报错,缺少对一个children 属性声明
问题二、在忽略ts报错后,使用吸顶组件,并没有达到预期效果,不会固定在视图顶部,且查看context.isFixed的值一直是false

期望结果

像事例demo一样效果

实际结果

组件在页面顶部,并非视图顶部,页面滚动时会被隐藏

框架版本

18.2.0

浏览器版本

Chrome(119.0.6045.159)

系统版本

MacOS(13.6)

Node版本

v16.20.2

补充说明

No response

Copy link
Contributor

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

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

No branches or pull requests

1 participant