callstack / callstack/react-native-paper

FAB should have a shadow at elevation level 3

未关闭
#4,023 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
bug
主要语言
TypeScript
星标
14.5k
派生
2.2k
平均合并
5 天 23 小时
30 天内合并 PR
12

描述

### Current behaviour
When in M3, the shadow of the FAB is at level 6.

### Expected behaviour
According to [M3 spec](https://m3.material.io/components/floating-action-button/specs), the FAB should have a shadow of level 3. I reported this for the AnimatedFAB back in #3805 and it seems to only have been fixed for the Animated version.

### Your Environment

| software | version
| --------------------- | -------
| react-native | 0.71.8
| react-native-paper | 0.5.8

贡献指南

打开贡献指南

调研方向

该 issue 提到了 FAB、AnimatedFAB issue #3805 和 M3 规范,但没有指出文件或测试。首先定位 FAB 的 elevation 实现,并将其与 AnimatedFAB 的修复进行比较,然后根据链接的规范验证 M3 FAB 的阴影是否为 level 3。

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

评估

技术栈
react-native
领域
mobile
Issue 类型
缺陷
难度
2/5
预计耗时
1-3 小时
活跃度
停滞
描述清晰度
基本清楚
新手友好度
48/100

把新 issue 发到你的邮箱

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