mirror of
https://github.com/ToolJet/ToolJet
synced 2026-05-24 09:28:31 +00:00
fix: fixed issue that caused scroll bar to comeup by default
This commit is contained in:
parent
fe9815eb20
commit
8cf0c49cd1
2 changed files with 3 additions and 3 deletions
|
|
@ -26,8 +26,8 @@ export const Container = function Container({
|
|||
border: `1px solid ${borderColor}`,
|
||||
height,
|
||||
display: visibility ? 'flex' : 'none',
|
||||
overflow: draggedSubContainer ? 'unset' : 'hidden auto',
|
||||
// overflow: 'hidden auto',
|
||||
// overflow: draggedSubContainer ? 'unset' : 'hidden auto',
|
||||
overflow: 'hidden auto',
|
||||
position: 'relative',
|
||||
boxShadow,
|
||||
};
|
||||
|
|
|
|||
|
|
@ -154,7 +154,7 @@ export const SubContainer = ({
|
|||
if (isParentModal && subContainerHeight <= componentBottom) {
|
||||
subContainerHeightRef.current = componentBottom + 100;
|
||||
} else {
|
||||
subContainerHeightRef.current = subContainerHeight + 30;
|
||||
subContainerHeightRef.current = subContainerHeight + 28;
|
||||
}
|
||||
} catch (error) {
|
||||
console.error('console.error', error);
|
||||
|
|
|
|||
Loading…
Reference in a new issue