mirror of
https://github.com/bulwarkmail/native.git
synced 2026-10-31 08:06:36 +00:00
fix: let the tag sheet scroll
This commit is contained in:
@@ -1521,7 +1521,10 @@ function TagMenuSheet({ visible, onClose, keywords, activeKeywords, onToggle }:
|
||||
{t('email_viewer.tag_no_matches', 'No matching tags')}
|
||||
</Text>
|
||||
) : (
|
||||
keywords.map((kw) => {
|
||||
// Scrolls like the More sheet: a long tag list (or a landscape
|
||||
// window) ran past the screen with no way to reach the last tags.
|
||||
<ScrollView style={styles.sheetScroll} bounces={false}>
|
||||
{keywords.map((kw) => {
|
||||
const token = keywordToken(kw.id);
|
||||
const active = !!activeKeywords[token];
|
||||
const palette = c.tags[kw.color];
|
||||
@@ -1534,7 +1537,8 @@ function TagMenuSheet({ visible, onClose, keywords, activeKeywords, onToggle }:
|
||||
trailing={active ? <Check size={16} color={c.primary} /> : null}
|
||||
/>
|
||||
);
|
||||
})
|
||||
})}
|
||||
</ScrollView>
|
||||
)}
|
||||
</Animated.View>
|
||||
</Modal>
|
||||
|
||||
Reference in New Issue
Block a user