🐛 fix(EditNodeModal): add condition to check if nodeLength is greater than arrayOfObjects.length to handle overflow scrolling correctly
This commit is contained in:
parent
9424d5738a
commit
4c228303c9
1 changed files with 2 additions and 1 deletions
|
|
@ -111,7 +111,8 @@ const EditNodeModal = forwardRef(
|
||||||
<div
|
<div
|
||||||
className={classNames(
|
className={classNames(
|
||||||
"edit-node-modal-box",
|
"edit-node-modal-box",
|
||||||
nodeLength > limitScrollFieldsModal
|
nodeLength > limitScrollFieldsModal ||
|
||||||
|
nodeLength > arrayOfObjects.length
|
||||||
? "overflow-scroll overflow-x-hidden custom-scroll"
|
? "overflow-scroll overflow-x-hidden custom-scroll"
|
||||||
: "overflow-hidden"
|
: "overflow-hidden"
|
||||||
)}
|
)}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue