Fix FAB overlapping last entries (#3448)
This commit is contained in:
parent
652d68fd35
commit
fbbb098a64
@ -54,6 +54,7 @@ import styles from './CustomEmojiPicker.module.scss';
|
|||||||
type OwnProps = {
|
type OwnProps = {
|
||||||
chatId?: string;
|
chatId?: string;
|
||||||
className?: string;
|
className?: string;
|
||||||
|
pickerListClassName?: string;
|
||||||
isHidden?: boolean;
|
isHidden?: boolean;
|
||||||
loadAndPlay: boolean;
|
loadAndPlay: boolean;
|
||||||
idPrefix?: string;
|
idPrefix?: string;
|
||||||
@ -102,6 +103,7 @@ const STICKER_SET_IDS_WITH_COVER = new Set([
|
|||||||
|
|
||||||
const CustomEmojiPicker: FC<OwnProps & StateProps> = ({
|
const CustomEmojiPicker: FC<OwnProps & StateProps> = ({
|
||||||
className,
|
className,
|
||||||
|
pickerListClassName,
|
||||||
isHidden,
|
isHidden,
|
||||||
loadAndPlay,
|
loadAndPlay,
|
||||||
addedCustomEmojiIds,
|
addedCustomEmojiIds,
|
||||||
@ -370,6 +372,7 @@ const CustomEmojiPicker: FC<OwnProps & StateProps> = ({
|
|||||||
pickerStyles.main_customEmoji,
|
pickerStyles.main_customEmoji,
|
||||||
'no-selection',
|
'no-selection',
|
||||||
IS_TOUCH_ENV ? 'no-scrollbar' : 'custom-scroll',
|
IS_TOUCH_ENV ? 'no-scrollbar' : 'custom-scroll',
|
||||||
|
pickerListClassName,
|
||||||
);
|
);
|
||||||
|
|
||||||
return (
|
return (
|
||||||
|
|||||||
@ -209,7 +209,7 @@ const SettingsFoldersChatsPicker: FC<OwnProps & StateProps> = ({
|
|||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
<InfiniteScroll
|
<InfiniteScroll
|
||||||
className="picker-list custom-scroll"
|
className="picker-list custom-scroll fab-padding-bottom"
|
||||||
itemSelector=".chat-item"
|
itemSelector=".chat-item"
|
||||||
items={viewportIds}
|
items={viewportIds}
|
||||||
onLoadMore={getMore}
|
onLoadMore={getMore}
|
||||||
|
|||||||
@ -146,6 +146,7 @@ const CreateTopic: FC<OwnProps & StateProps> = ({
|
|||||||
loadAndPlay={isActive}
|
loadAndPlay={isActive}
|
||||||
onCustomEmojiSelect={handleCustomEmojiSelect}
|
onCustomEmojiSelect={handleCustomEmojiSelect}
|
||||||
className={styles.iconPicker}
|
className={styles.iconPicker}
|
||||||
|
pickerListClassName="fab-padding-bottom"
|
||||||
withDefaultTopicIcons
|
withDefaultTopicIcons
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@ -157,6 +157,7 @@ const EditTopic: FC<OwnProps & StateProps> = ({
|
|||||||
loadAndPlay={isActive}
|
loadAndPlay={isActive}
|
||||||
onCustomEmojiSelect={handleCustomEmojiSelect}
|
onCustomEmojiSelect={handleCustomEmojiSelect}
|
||||||
className={styles.iconPicker}
|
className={styles.iconPicker}
|
||||||
|
pickerListClassName="fab-padding-bottom"
|
||||||
withDefaultTopicIcons
|
withDefaultTopicIcons
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@ -207,3 +207,7 @@
|
|||||||
--color-user: var(--color-deleted-account);
|
--color-user: var(--color-deleted-account);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.fab-padding-bottom {
|
||||||
|
padding-bottom: 5rem !important;
|
||||||
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user