Skip to content

Commit

Permalink
chore: disableScroll on carousel modals
Browse files Browse the repository at this point in the history
  • Loading branch information
Ross Bulat committed Nov 7, 2023
1 parent fac92a8 commit a03faa6
Show file tree
Hide file tree
Showing 6 changed files with 14 additions and 3 deletions.
6 changes: 5 additions & 1 deletion src/pages/Nominate/Active/ManageBond.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,11 @@ export const ManageBond = () => {
onClick={() =>
openModal({
key: 'UnlockChunks',
options: { bondFor: 'nominator', disableWindowResize: true },
options: {
bondFor: 'nominator',
disableWindowResize: true,
disableScroll: true,
},
size: 'sm',
})
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ export const UnclaimedPayoutsStatus = () => {
size: 'sm',
options: {
disableWindowResize: true,
disableScroll: true,
},
}),
},
Expand Down
1 change: 1 addition & 0 deletions src/pages/Nominate/Active/UnstakePrompts.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,7 @@ export const UnstakePrompts = () => {
bondFor: 'nominator',
poolClosure: true,
disableWindowResize: true,
disableScroll: true,
},
size: 'sm',
})
Expand Down
1 change: 1 addition & 0 deletions src/pages/Pools/Home/ClosurePrompts.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,7 @@ export const ClosurePrompts = () => {
bondFor: 'pool',
poolClosure: true,
disableWindowResize: true,
disableScroll: true,
},
size: 'sm',
})
Expand Down
6 changes: 5 additions & 1 deletion src/pages/Pools/Home/ManageBond.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,11 @@ export const ManageBond = () => {
onClick={() =>
openModal({
key: 'UnlockChunks',
options: { bondFor: 'pool', disableWindowResize: true },
options: {
bondFor: 'pool',
disableWindowResize: true,
disableScroll: true,
},
size: 'sm',
})
}
Expand Down
2 changes: 1 addition & 1 deletion src/pages/Pools/Home/Status/MembershipStatus.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ export const MembershipStatus = ({
onClick: () =>
openModal({
key: 'ManagePool',
options: { disableWindowResize: true },
options: { disableWindowResize: true, disableScroll: true },
size: 'sm',
}),
});
Expand Down

0 comments on commit a03faa6

Please sign in to comment.