Hacktoberfest 2026:维护者为十月标记出来的 issue,仍然开放、适合新手。 浏览 Hacktoberfest issue

[Bug] Unable to open pdf file inside code app

未关闭
#413 5 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

评估

难度
4/5
预计耗时
3-5 天
新手友好度
42/100
Issue 类型
缺陷
描述清晰度
需要澄清
活跃度
活跃
技术栈
react, typescript
领域
frontend, web-dev

调研方向

首先在已发布的 Power Apps Code App 中复现 PDF iframe 流程,并将其与本地主机上的行为进行比较。检查 issue 中描述的本地 worker 和字节重建路径,尤其是处理大于 5 MB 的文件时。确定并记录环境限制或可复现的修复方案,同时记录相关错误详情,即视为完成。

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

描述

bug

Describe the bug

Unable to open pdf inside iframe via flow
Unable to open pdf file inside code app

Expected behavior

It would be easy to pass pdf file content from flow and render inside iframe but seems power app's environment blocking the pdf rendering.

Pdf are working fine inside iframe on local host but after publishing it blocked by the environment

Actual behavior

Screenshots or Error Messages

Environment information

  • Framework, build tool or relevant package used: [React,Vite, Webpack, etc]
  • Any connection/components: [Office365, SQL, etc]

React typescript

Additional context

External worker are also blocked in the environment if we try another way around. So i disable the external worker and use local worker then reconstruct the pdf via bytes which is causing issue when pdf file is larger than 5mb.

主要语言
TypeScript
星标
504
派生
145
平均合并
4 小时 3 分钟
30 天内合并 PR
1

贡献指南

这个仓库没有索引到贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

microsoft/PowerAppsCodeApps 的其他 Issue

查看 microsoft/PowerAppsCodeApps 的全部 Issue

相似的 Issue

更多 TypeScript Issue

把新 issue 发到你的邮箱

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