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

feat:图集自适应 #11710

Merged
merged 3 commits into from
Mar 6, 2025
Merged

feat:图集自适应 #11710

merged 3 commits into from
Mar 6, 2025

Conversation

bawawa
Copy link
Contributor

@bawawa bawawa commented Mar 5, 2025

What

图集组件宽度和高度为百分比的时候适配父级元素宽高

Why

秒哒组件需要

How

在compinentDidMount中添加监听,监听父级元素尺寸变动。

@github-actions github-actions bot added the feat label Mar 5, 2025
Copy link

github-actions bot commented Mar 5, 2025

👍 Thanks for this!
🏷 I have applied any labels matching special text in your issue.

Please review the labels and make any necessary changes.

@bawawa bawawa force-pushed the feat-images-adapt branch from b6b8b5d to d2f4252 Compare March 5, 2025 13:12
@qkiroc qkiroc merged commit e93f917 into baidu:master Mar 6, 2025
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants