Skip to content

[Form] 当Form表单嵌套在其他Scroll组件里面的时候,scrollToFirstError不生效 #4126

Closed

Description

@nowui

tdesign-react 版本

1.16.5

重现链接

No response

重现步骤

No response

期望结果

No response

实际结果

No response

框架版本

No response

浏览器版本

No response

系统版本

No response

Node版本

No response

补充说明

No response

Activity

  1. added
    🐞 bug
    🧐 unconfirmed
    on Feb 6, 2026
  2. github-actions commented on Feb 6, 2026

    @github-actions
    Contributor

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

  3. RylanBot commented on Feb 6, 2026

    @RylanBot
    Collaborator

    无法复现,最好提供相关代码

  4. added and removed
    🧐 unconfirmed
    on Feb 6, 2026
  5. removed
    🐞 bug
    on Feb 6, 2026
  6. nowui commented on Feb 6, 2026

    @nowui
    Author

    1、【Table】组件的headerAffixedTop和horizontalScrollAffixedBottom都可以指定container
    2、【Affix】组件可以指定container

    我的问题是:【Form】组件不能指定container,也可以嵌套在其他Scroll组件滚动的?

  7. RylanBot commented on Feb 6, 2026

    @RylanBot
    Collaborator

    你的意思是:scrollToFirstError 可能同时滚动外层 window 和内层容器,导致页面位置跳动
    所以你期望:只滚动指定的滚动容器?

  8. nowui commented on Feb 6, 2026

    @nowui
    Author

    嗯嗯 是的 只滚动指定的滚动容器

  9. added
    💪🏻 enhancement
    and removed on Feb 6, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    💪🏻 enhancement

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions