Fix: Date picker gets hidden inside table and user needs to scroll to see it.

This commit is contained in:
devanshu052000 2025-01-16 12:27:07 +05:30
parent 679811ad76
commit 65b2b5d913
2 changed files with 4 additions and 2 deletions

View file

@ -263,6 +263,9 @@ export const Datepicker = function Datepicker({
}
setIsDateInputFocussed(false);
}}
closeOnScroll={(e) => {
return e.target.className === 'table-responsive jet-data-table false false';
}}
/>
</div>
);

View file

@ -1114,10 +1114,9 @@ export const Table = React.memo(
<div
style={{
position: 'absolute',
top: 0,
top: `${items[0]?.start ?? 0}px`,
left: 0,
width: '100%',
transform: `translateY(${items[0]?.start ?? 0}px)`,
}}
>
{items.map((virtualRow) => {