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

[t-button]在渲染模式Skyline下,t-button属性值设置为submit无提交效果,也没有焦点。 #2931

Closed
starsei opened this issue Jun 29, 2024 · 13 comments
Labels
need confirm need confirm

Comments

@starsei
Copy link

starsei commented Jun 29, 2024

tdesign-miniprogram 版本

1.4.4

重现链接

填充按钮

重现步骤

微信截图_20240629203018

期望结果

No response

实际结果

No response

基础库版本

3.4.8

补充说明

是一个form表单页面,需要设置一个按钮提交。

Copy link
Contributor

👋 @starsei,感谢给 TDesign 提出了 issue。
请根据 issue 模版确保背景信息的完善,我们将调查并尽快回复你。

@starsei
Copy link
Author

starsei commented Jun 29, 2024

微信截图_20240629203846

webview模式下可以,但是样式会错乱! skyline模式下无法提供焦点,无法点击按钮提交。

@anlyyao
Copy link
Collaborator

anlyyao commented Jul 2, 2024

@starsei 提供一下可复现代码片段~

@anlyyao anlyyao added the need confirm need confirm label Jul 2, 2024
@starsei
Copy link
Author

starsei commented Jul 2, 2024

代码我来发一下 需要再skyline引擎下,您可以测试一下您的example

@starsei
Copy link
Author

starsei commented Jul 2, 2024

<view class="button-example"> <t-button theme="primary" size="large" block type="submit">提交测试</t-button> </view>

@anlyyao
Copy link
Collaborator

anlyyao commented Jul 2, 2024

@starsei type="submit" 能正常触发 form 组件的submit事件,下面这个是代码片段 https://developers.weixin.qq.com/s/GSW8Mnmy7gSi

@anlyyao
Copy link
Collaborator

anlyyao commented Jul 2, 2024

至于您描述的“没有焦点”,是指没有点击/hover态吧?如果是在skyline下,确实存在该问题,同issue #2933

@starsei
Copy link
Author

starsei commented Jul 3, 2024

目前已经处理好了 谢谢 还有一个navbar 对齐也有点点出入

@anlyyao
Copy link
Collaborator

anlyyao commented Jul 5, 2024

目前已经处理好了 谢谢 还有一个navbar 对齐也有点点出入

点点出入 是指?

@starsei
Copy link
Author

starsei commented Jul 5, 2024

微信截图_20240705142737
微信截图_20240705142804
微信截图_20240705142826
微信截图_20240705142838
微信截图_20240705143016

看一下,t-nav实机和模拟器显示出来的效果不一致。

@anlyyao
Copy link
Collaborator

anlyyao commented Jul 5, 2024

@starsei

  1. 配置补充 "defaultContentBox": true
  2. 需要注意一下,tdesign-miniprogram 库目前只有部分组件完成了 skyline 适配,不是全部组件。

@cb360
Copy link

cb360 commented Jul 21, 2024

@starsei

  1. 需要注意一下,tdesign-miniprogram 库目前只有部分组件完成了 skyline 适配,不是全部组件。

请问全部组件适配skyline有时间计划吗?

@anlyyao
Copy link
Collaborator

anlyyao commented Oct 24, 2024

@starsei

  1. 需要注意一下,tdesign-miniprogram 库目前只有部分组件完成了 skyline 适配,不是全部组件。

请问全部组件适配skyline有时间计划吗?

see: #3149

@anlyyao anlyyao closed this as completed Oct 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
need confirm need confirm
Projects
None yet
Development

No branches or pull requests

3 participants