Image fadeDuration property
评估
- 难度
- 5/5
- 预计耗时
- 一周以上
- 新手友好度
- 35/100
- Issue 类型
- 功能
- 描述清晰度
- 需要澄清
- 活跃度
- 活跃
- 技术栈
- css, javascript, react-native
- 领域
- frontend, mobile-dev, web-dev
调研方向
首先定位 createStrictImage 入口点,并阅读链接的关于 fadeDuration 的 react-native 讨论。确定并记录预期的跨平台行为,以及在不依赖非标准 html.img 属性的情况下 override 应如何工作。完成的标准是:项目已有明确且可实施的方案,并且预期的图像加载行为已得到澄清。
由索引模型根据 Issue 内容生成。
描述
react-native has an android only property fadeDuration that adds a fade-in effect to images while they load.
This is set by default to 300ms leading to an unexpected inconsistency across platforms.
the issue was discussed here: https://github.com/facebook/react-native/issues/10194
where was decided to add a prop to control it, but not removing the default value to avoid breaking changes.
I'm wondering what is the position on the topic from the react-strict-dom POV. Should the createStrictImage force it to 0 and let the optional animation be handled by css transition polyfills?
If not, how can the behavior be overridden? In react-native the fadeDuration property can be used to reset to 0 when needed, but not being a valid web API is not allowed in html.img (as well as possibly creating conflicts with transitions and/or animations)
- 主要语言
- JavaScript
- 星标
- 3.6k
- 派生
- 208
- PR 合并指标
- 30 天内没有已合并 PR
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 没有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
react/react-strict-dom 的其他 Issue
-
Outline styles aren't parsed in React Native可能已有人在做 @hoangvvo 于 148 天前认领。 未关闭bug
难度 2/5 1-3 小时 新手友好度 65/100
react/react-strict-dom#467 · 1 条评论 ·
-
难度 2/5 1-3 小时 新手友好度 68/100
react/react-strict-dom#465 · 2 条评论 ·
-
postcss plugin re-transforms every included file on each rebuild under Turbopack (minutes-long HMR in large projects)可能已有人在做 @borisyankov 于 17 天前认领。 未关闭
难度 5/5 一周以上 新手友好度 35/100
react/react-strict-dom#520 ·
-
bug
难度 2/5 1-3 小时 新手友好度 35/100
react/react-strict-dom#505 · 2 个 reaction ·
-
Button remains unclickable after disabled state changes可能已有人在做 @MoOx 于 131 天前认领。 未关闭bug
难度 3/5 1-2 天 新手友好度 62/100
react/react-strict-dom#491 · 4 条评论 ·
查看 react/react-strict-dom 的全部 Issue
相似的 Issue
-
factory-active factory-automatic task-bug-reproduction-success task-identify-harness-labels-done task-identify-issue-type-done
难度 2/5 1-3 小时 新手友好度 62/100
维护者通常 1 天内回复
-
good first issue needs-triage priority: low
难度 2/5 1-3 小时 新手友好度 82/100
melodic-software/claude-code-plugins#6982 · 1 条评论 ·
维护者通常 1 天内回复
-
chore v2
难度 2/5 1-3 小时 新手友好度 78/100
modelcontextprotocol/servers#5115 ·
维护者通常 1 天内回复
-
beginner bug good first issue
难度 1/5 1 小时以内 新手友好度 85/100
philaconvalley/website#168 ·
维护者通常 1 天内回复
-
难度 1/5 1 小时以内 新手友好度 62/100
维护者通常 1 天内回复