-
-
Notifications
You must be signed in to change notification settings - Fork 9.5k
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
Form 组件 scroll-to-error 在使用 tab 滚动吸顶的时候,被吸顶的tab挡住 #12822
Comments
+1 |
通过以上示例,并不能复现你描述的情况 |
我大概知道了你真正想描述的情景了。比如上述示例加上
我已提交一个 PR 来解决这个问题。该 PR 对 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
项目中使用了tab组件, 并且开启了scrollspy sticky, 内部嵌入了form,然后form触发submit的时候,滚动到报错为止后,报错部分被吸顶的tab遮挡。
可能的解决办法:
1、滚动到错误时,错误的元素在屏幕中间位置。
2、滚动到错误时,可以设置距离顶部的距离。
Tasks
The text was updated successfully, but these errors were encountered: