github / github/app

Canvas extension issue when using built-in app zoom

未关闭
#2,111 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
Bugs
主要语言
没有语言数据
星标
2.1k
派生
153
PR 合并指标
30 天内没有已合并 PR

描述

### Short summary

Canvas extension offset issue when using built-in app zoom

### Affected version or release

v1.0.24

### Installation context

App installed on MacOS 15.7.7

### What happened?

When a canvas extension is loaded, any zoom change other than default render the app unusable due to the webview of the canvas extension not applying the zoom and getting offset inside the GH app window, see:

Image

### Steps to reproduce

1. Load any canvas extension using the webview
2. zoom in/out in the app using ctrl +/-

Image

### Expected behavior

- canvas extension is also affected by the zoom, and follows the layout as expected

### Additional context

_No response_

贡献指南

打开贡献指南

调研方向

在 macOS 15.7.7 上使用 v1.0.24,通过在 webview 中加载 canvas 扩展并使用 Ctrl+/- 更改应用缩放来复现该问题。检查 canvas 扩展 webview 对缩放和布局的处理;当该扩展能够跟随应用缩放,且不会发生偏移或变得无法使用时,即表示完成。

由索引模型根据 Issue 内容生成。

评估

技术栈
macos
领域
desktop
Issue 类型
缺陷
难度
3/5
预计耗时
1-2 天
活跃度
冷清
描述清晰度
基本清楚
新手友好度
50/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。