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

[Popup]解决键盘出现会遮挡Popup里的输入框 #264

Merged
merged 5 commits into from
Sep 25, 2024

Conversation

epoll-j
Copy link
Contributor

@epoll-j epoll-j commented Jul 30, 2024

🤔 这个 PR 的性质是?

  • 日常 bug 修复
  • 新特性提交
  • 文档改进
  • 演示代码改进
  • 组件样式/交互改进
  • CI/CD 改进
  • 重构
  • 代码风格优化
  • 测试用例
  • 分支合并
  • 其他

🔗 相关 Issue

#168

💡 需求背景和解决方案

通过在TDSlidePopupRoute中监听焦点变化判断键盘出现时是否会遮挡触发焦点的组件,在slideTransitionFrom为bottom时,键盘出现直接将整体向上平移,其他方向出现时判断如果没有遮挡则不处理,遮挡后向上小幅度平移

bottom

📝 更新日志

  • fix(td_poup): 修复输入框被键盘遮挡问题

  • 本条 PR 不需要纳入 Changelog

☑️ 请求合并前的自查清单

⚠️ 请自检并全部勾选全部选项⚠️

  • 文档已补充或无须补充
  • 代码演示已提供或无须提供
  • Changelog 已提供或无须提供

@epoll-j epoll-j changed the title 解决键盘出现会遮挡Popup里的输入框 [Popup]解决键盘出现会遮挡Popup里的输入框 Aug 2, 2024
@Luozf12345
Copy link
Collaborator

感谢您的贡献,请问可以在td_popup_page中的的ExamplePage的test参数下增加一个该场景的演示示例吗?方便测试同学验收以及用户体验,非常感谢~

@epoll-j
Copy link
Contributor Author

epoll-j commented Aug 16, 2024

感谢您的贡献,请问可以在td_popup_page中的的ExamplePage的test参数下增加一个该场景的演示示例吗?方便测试同学验收以及用户体验,非常感谢~

@Luozf12345 已增加相关演示示例,麻烦测试验收

@Luozf12345
Copy link
Collaborator

感谢您的贡献~

@Luozf12345 Luozf12345 merged commit ce5ef2d into Tencent:develop Sep 25, 2024
3 checks passed
@github-actions github-actions bot mentioned this pull request Oct 15, 2024
15 tasks
@SinceJulyzzZ
Copy link

请问这个有开关吗,有时候我并不想它整体上移

@epoll-j
Copy link
Contributor Author

epoll-j commented Dec 6, 2024

请问这个有开关吗,有时候我并不想它整体上移

已添加开关

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.

3 participants