Commit 3561135b authored by Muhammadali's avatar Muhammadali

update-

parent 6975edd5
......@@ -20,11 +20,11 @@ const CallHistoryInputDropdown = ({
setModal(false);
};
useEffect(() => {
if (elem.scrollTop && elem.scrollHeight && numberSelectHistory) {
elem.scrollTop = elem.scrollHeight - numberSelectHistory * 34;
}
}, [numberSelectHistory]);
// useEffect(() => {
// if (elem.scrollTop && elem.scrollHeight && numberSelectHistory) {
// elem.scrollTop = elem.scrollHeight - numberSelectHistory * 34;
// }
// }, [numberSelectHistory]);
return (
<Block>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment