Skip to content

fix(DateRange): component Input supports automatic width adaptation#1461

Closed
18735185652 wants to merge 2 commits intooceanbase:masterfrom
18735185652:fix/date-ranger
Closed

fix(DateRange): component Input supports automatic width adaptation#1461
18735185652 wants to merge 2 commits intooceanbase:masterfrom
18735185652:fix/date-ranger

Conversation

@18735185652
Copy link
Copy Markdown
Contributor

📦 Modified package

  • @oceanbase/design
  • @oceanbase/ui
  • @oceanbase/icons
  • @oceanbase/charts
  • @oceanbase/util
  • @oceanbase/codemod
  • Other (about what?)

🤔 This is a ...

  • New feature
  • Bug fix
  • Site / documentation update
  • Demo update
  • Component style update
  • TypeScript definition update
  • Bundle size optimization
  • Performance optimization
  • Enhancement feature
  • Internationalization
  • Refactoring
  • Code style optimization
  • Test Case
  • Branch merge
  • Workflow
  • Other (about what?)

🔗 Related issue link

💡 Background and solution

📝 Changelog

Language Changelog
🇺🇸 English
🇨🇳 Chinese

☑️ Self-Check before Merge

⚠️ Please check all items below before requesting a reviewing. ⚠️

  • Doc is updated/provided or not needed
  • Demo is updated/provided or not needed
  • TypeScript definition is updated/provided or not needed
  • Tests is updated/provided or not needed
  • Changelog is provided or not needed

DateRanger
🆕 DateRanger组件支持中英文场景宽度自适应
image
image

@vercel
Copy link
Copy Markdown

vercel Bot commented Apr 1, 2026

@18735185652 is attempting to deploy a commit to the dengfuping's projects Team on Vercel.

A member of the Team first needs to authorize it.

@dengfuping
Copy link
Copy Markdown
Collaborator

  • 带上了之前的 commit,需要去掉
image

const { sizerRef, inputWidth } = useAutoWidthInput({
inputRef,
value: displayValue,
minWidth: 80,
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

如果支持宽度自适应,当手动修改日期时间,宽度不断变化、导致抖动吧

@dengfuping
Copy link
Copy Markdown
Collaborator

Duplicate of #1464

@dengfuping dengfuping marked this as a duplicate of #1464 Apr 7, 2026
@dengfuping dengfuping closed this Apr 7, 2026
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.

2 participants