🐛 fix(EditNodeModal): add condition to check if nodeLength is greater than arrayOfObjects.length to handle overflow scrolling correctly

This commit is contained in:
Cristhian Zanforlin Lousa 2023-08-30 11:50:47 -03:00
commit 4c228303c9

View file

@ -111,7 +111,8 @@ const EditNodeModal = forwardRef(
<div
className={classNames(
"edit-node-modal-box",
nodeLength > limitScrollFieldsModal
nodeLength > limitScrollFieldsModal ||
nodeLength > arrayOfObjects.length
? "overflow-scroll overflow-x-hidden custom-scroll"
: "overflow-hidden"
)}