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

macOS 端全屏幕后切换主题模式会导致工具栏左侧出现空白 #4132

Closed
gslnzfq opened this issue Mar 1, 2022 · 0 comments
Closed
Assignees
Labels
Milestone

Comments

@gslnzfq
Copy link

gslnzfq commented Mar 1, 2022

描述问题 Describe the problem

macos全屏幕后切换主题模式会导致工具栏左侧的空白出现,如视频所示

siyuan.mp4

版本环境 Version environment

  • Version: 1.8.5
  • Operating system: macOS 12.2.1 (21D62)
  • Browser (if used): no

更多信息 More information

可以在全屏和非全屏切换的时候给全局body加一个class,我们通过主题解决这个问题;
例如 fullscreen 等这样的

image

⚠️ 我的主题下面有一个空白的js文件

我删除了空白的js文件不会复现了,但应该不是必现

我在默认的主题下面放置了一个空白的theme.js,该问题也必现,怀疑是执行theme.js导致的

@gslnzfq gslnzfq changed the title macos全屏幕后切换主题会导致工具栏左侧的空白出现 macos全屏幕后切换主题模式会导致工具栏左侧的空白出现 Mar 1, 2022
@88250 88250 changed the title macos全屏幕后切换主题模式会导致工具栏左侧的空白出现 macOS 全屏幕后切换主题模式会导致工具栏左侧出现空白 Mar 1, 2022
@88250 88250 changed the title macOS 全屏幕后切换主题模式会导致工具栏左侧出现空白 macOS 端全屏幕后切换主题模式会导致工具栏左侧出现空白 Mar 1, 2022
@Vanessa219 Vanessa219 added the Bug label Mar 3, 2022
@Vanessa219 Vanessa219 modified the milestones: backlog, 1.8.7 Mar 3, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants