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

为Tooltip和Popover组件增加offsetSpacing属性 #61

Merged
merged 3 commits into from
Dec 13, 2024

Conversation

xiexiejie
Copy link
Collaborator

@xiexiejie xiexiejie commented Dec 10, 2024

这个 PR 做了什么?
为Tooltip和Popover组件增加offsetSpacing属性以便控制浮层与目标元素的距离
修复距离计算问题

这个变动的性质是?

  • 新特性提交
  • 日常 bug 修复
  • 站点、文档改进
  • 演示代码改进
  • 组件样式/交互改进
  • TypeScript 定义更新
  • 包体积优化
  • 性能优化
  • 功能增强
  • 重构
  • 代码风格优化
  • 测试用例
  • 工作流程

这个变动涉及以下渠道:

  • 所有渠道
  • 微信小程序
  • 支付宝小程序
  • 抖音小程序
  • Web 平台(H5)

附加信息(可选)
在此添加任何其他相关信息,比如截图或设计图。

@xiexiejie xiexiejie requested a review from zhubeniii December 13, 2024 08:23
@xiexiejie xiexiejie merged commit cbb386b into releases/1223 Dec 13, 2024
3 checks passed
export default () => {
return (
<Popover title="This is a popover" offsetSpacing={20} defaultOpen>
<span>offsetSpacing控制目标间隔(设置20 以便观察)</span>
Copy link
Collaborator

Choose a reason for hiding this comment

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

是不是这里也翻译成英文

@NeverEllipsis NeverEllipsis deleted the feat/upgrade_tooltip_arrow branch December 17, 2024 01:46
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