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

自由类型布局的仪表板,界面区域显示范围有缺陷 #607

Closed
Wesilnt opened this issue Jan 14, 2022 · 1 comment · Fixed by #561 or #573
Closed

自由类型布局的仪表板,界面区域显示范围有缺陷 #607

Wesilnt opened this issue Jan 14, 2022 · 1 comment · Fixed by #561 or #573
Assignees
Labels
bug Something isn't working
Milestone

Comments

@Wesilnt
Copy link

Wesilnt commented Jan 14, 2022

Datart Version
1.0.0-alpha.3 release

Describe the bug
自由类型布局的仪表板,编辑操作时,面板区域显示逻辑有缺陷。

通过调试和代码来看,默认的面板区域宽度自适应,占据非操作区域的100%,高度按比例计算后,垂直居中显示,且没有滚动条来滚动面板视图。
这样就导致一个问题,如果面板所在区域宽度比高度大一定阈值。面板上下就超出了可视区域。这时候导入数据图表,只能将图表拉入更中心的位置,或者将面板缩小至可视区域以内。引起其他的体验问题。
在空白仪表板上效果明显。
元素查看:
image
引入图表现状:
image

Expected behavior
期望效果:
image
期望加入面板外部区域滚动或者面板区域滚动,且初次展示时,能以左上角为显示原点,而不是面板中心。

PS: @tm团队

@xieliuduo
Copy link
Member

dev分支已解决此问题

@scottsut scottsut added the bug Something isn't working label Jan 14, 2022
@scottsut scottsut added this to the beta.1 milestone Jan 14, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
3 participants