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