Stars Balance Modal: Fix scroll down issue on open (#5642)

This commit is contained in:
Alexander Zinchuk 2025-03-01 17:59:18 +01:00
parent 1b66f75853
commit 28419b6354
2 changed files with 2 additions and 1 deletions

View File

@ -9,7 +9,7 @@
}
.root :global(.modal-dialog) {
height: min(calc(55vh + 41px + 193px), 90vh);
height: min(45rem, 90vh);
max-width: 26.25rem;
}

View File

@ -288,6 +288,7 @@ const StarsBalanceModal = ({
itemSelector={`.${TRANSACTION_ITEM_CLASS}`}
className={styles.transactions}
noFastList
noScrollRestoreOnTop
>
{history?.[TRANSACTION_TYPES[selectedTabIndex]]?.transactions.map((transaction) => (
<StarsTransactionItem