Skip to content

feat(BubbleList): 支持 maxWidth - #508

Merged
webvs2 merged 1 commit into
element-plus-x:updata-2602from
orziz:feat/bubble-list-max-width-v2
Aug 26, 2026
Merged

webvs2 merged 1 commit into
element-plus-x:updata-2602from
orziz:feat/bubble-list-max-width-v2

Conversation

@orziz

@orziz orziz commented Aug 24, 2026

Copy link
Copy Markdown
Member

我把 #352 的需求按现在的 v2 BubbleList 重做了,原作者已经放进 co-author。

v2 的 wrapperStyle 本来就是响应式 computed,所以不用搬旧 PR 里那段滚动代码。这次只做了必要改动:

  • 新增 maxWidth?: string
  • 默认 none,不改现有布局
  • 通过 --elx-bubble-list-max-width 作用到外层容器
  • 补中英文文档和 Storybook 控件

我跑过:

  • pnpm build:core

Closes #226

等这条合并后,#352 可以按已重做关闭。

Co-authored-by: zhangzhen <zhangzhen@mageline.cn>
@coderabbitai

coderabbitai Bot commented Aug 24, 2026

Copy link
Copy Markdown

Warning

Review limit reached

Next included review available in 33 minutes.

View limit details

Limit details: You’ve used all 4 included reviews currently available.

You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository.

Learn how review limits work.

Review configuration:

⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro Plus

Run ID: a0c713db-2687-4851-9585-83d4712f2b3f

📥 Commits

Reviewing files that changed from the base of the PR and between a20433c and beda546.

📒 Files selected for processing (6)
  • apps/docs/en/components/bubbleList/index.md
  • apps/docs/zh/components/bubbleList/index.md
  • packages/core/src/components/BubbleList/index.vue
  • packages/core/src/components/BubbleList/style.scss
  • packages/core/src/components/BubbleList/types.d.ts
  • packages/core/src/stories/BubbleList/BubbleList.stories.ts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@webvs2
webvs2 merged commit cc6a3fe into element-plus-x:updata-2602 Aug 26, 2026
1 check passed
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

Successfully merging this pull request may close these issues.

BubbleList 建议添加一个maxWidth属性

2 participants