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

提升块标在边界范围的高度 #5623

Closed
1 task done
Temacc0531 opened this issue Aug 12, 2022 · 11 comments
Closed
1 task done

提升块标在边界范围的高度 #5623

Temacc0531 opened this issue Aug 12, 2022 · 11 comments
Assignees
Milestone

Comments

@Temacc0531
Copy link

Temacc0531 commented Aug 12, 2022

该问题是否已经被报告过了? Is there an existing issue for this?

  • 我已经搜索了 Issues,没有发现类似问题
    I have searched the existing issues

描述问题 Describe the problem

页面滚动分页处出现块标错位情况,应该是所有类型的块都有这个问题

期待的结果 Expected result

块标始终与块对齐

截屏或者录屏演示 Screenshot or screen recording presentation

test4

版本环境 Version environment

- Version: v2.1.6
- Operating System: Windows 10

日志文件 Log file

更多信息 More information

No response

@Temacc0531 Temacc0531 changed the title 页面滚动分页处出现块标错位情况 分页处块标错位 Aug 12, 2022
@Vanessa219
Copy link
Member

你说的是块滚动上去后块标没有对其么?

image

@Temacc0531
Copy link
Author

就是块在分页处的时候,上一个块的块标会错位显示到下一个块上。看上面的图里第一处完整显示测试的块的块标位置其实是有两个块标的,其中一个是上一个块的

@Vanessa219
Copy link
Member

块标有一个最高显示高度,超过这个高度就会在该位置显示。现在有点过低了,我改高一点下个版本你再看看。

Vanessa219 added a commit that referenced this issue Aug 14, 2022
@Vanessa219 Vanessa219 self-assigned this Aug 14, 2022
@Vanessa219 Vanessa219 added this to the 2.1.7 milestone Aug 14, 2022
@Vanessa219 Vanessa219 changed the title 分页处块标错位 提升块标在边界范围的高度 Aug 14, 2022
@Temacc0531
Copy link
Author

test5

我看修复完之后有所改善,但还是对不齐,也许可以把块标边界提高到面包屑下边界,超过之后则不再显示

@Vanessa219
Copy link
Member

目前最大高度就是在面包屑下面了,再上就会遮挡到面包屑。不显示的话会不会还要增加用户的一个小小的滚动?

@Temacc0531
Copy link
Author

Temacc0531 commented Aug 17, 2022

那就是如果块标已经到面包屑里面重叠的话直接就不显示了,这样就是相当于是不在显示区域内,对用户来说也是符合预期

@Temacc0531
Copy link
Author

@Vanessa219

@Vanessa219
Copy link
Member

但是块内容还显示在编辑区域中,因此块标还是需要显示的。

@Temacc0531
Copy link
Author

飞书:
飞书
息流:
息流
思源:
思源

这几个都是第二个块的块标,只有思源的错位了

思源2

把显示边界提高到红线位置就应该是正确的,目前的是在红线下面一些

@Vanessa219
Copy link
Member

Vanessa219 commented Aug 20, 2022

位置是刚好在红线下的,空白的是整个按钮的边距。这样用户会比较好点击。

@Temacc0531
Copy link
Author

我明白了,那这个可以等后续需要优化块标的时候一块解决了 #4877

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants