callstack / callstack/react-native-paper
Why `paddingHorizontal: Math.max(left, right)` in AppbarHeader ?
オープン
Appbar
question
- 主要言語
- TypeScript
- スター
- 14.5k
- フォーク
- 2.2k
- 平均マージ
- 5日 23時間
- マージ済み PR(30日)
- 12
説明
AppBar cannot align with content when screen orientation locked `LANDSCAPE_LEFT`
When orientation locked `LANDSCAPE_RIGHT`, align is ok.
---
Why Math.max ? It seems to be intentional, or may be a bug ?
https://github.com/callstack/react-native-paper/blob/9162a1fdf4e97c0669de8a8fa2057d8cfbe2e728/src/components/Appbar/AppbarHeader.tsx#L140C11-L140C52
コントリビューションガイド
評価
この issue はまだ評価されていません。