fix(EditNodeModal): remove unnecessary "overflow-hidden" class from modal box when nodeLength is not greater than limitScrollFieldsModal to prevent unnecessary scrolling
This commit is contained in:
parent
c0ca8bbd04
commit
821380f1a0
1 changed files with 1 additions and 1 deletions
|
|
@ -127,7 +127,7 @@ const EditNodeModal = forwardRef(
|
||||||
"edit-node-modal-box",
|
"edit-node-modal-box",
|
||||||
nodeLength > limitScrollFieldsModal
|
nodeLength > limitScrollFieldsModal
|
||||||
? "overflow-scroll overflow-x-hidden custom-scroll"
|
? "overflow-scroll overflow-x-hidden custom-scroll"
|
||||||
: "overflow-hidden"
|
: ""
|
||||||
)}
|
)}
|
||||||
>
|
>
|
||||||
{nodeLength > 0 && (
|
{nodeLength > 0 && (
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue