Merge pull request #12169 from ToolJet/fix/table-datepicker

Fix: Date picker gets hidden inside table
This commit is contained in:
Johnson Cherian 2025-03-10 12:08:13 +05:30 committed by GitHub
commit b7fc3c3fd1
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
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) => {