-
Notifications
You must be signed in to change notification settings - Fork 2.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Focused cell is acting weird when scrolling horizontally #5595
Comments
Disclaimer: This comment was automatically generated with AI. It can give some useful hints as to where to look for, but sometimes it can also give very inaccurate answers so takes this with a pinch of salt :). To address the issue of the focused cell acting weird when scrolling horizontally, follow these steps:
useEffect(() => {
const handleScroll = () => {
// Logic to maintain focus state
};
window.addEventListener('scroll', handleScroll);
return () => window.removeEventListener('scroll', handleScroll);
}, []);
References/packages/twenty-front/src/modules/activities/table |
looking into it. let me see if this can be fixed. |
Working on it 🔥 - P0 priority.
Edit: changing priority to P2, this is tricky then i thought, just z-index won't fix this i believe. also Question: Also later we will have a behaviour that when cell is focused, table shouldn't be scrollable (left and right) ideally this is what I think behaviour is, tackling both makes at the same time makes more sense to me. |
Duplicated issue: #6813, let's make sure both are fixed |
The issue is still there! |
/oss.gg 150 |
Thanks for opening an issue! It's live on oss.gg! |
/assign |
Assigned to @kshitij-codes! Please open a draft PR linking this issue within 48h |
/assign |
Assigned to @AshishViradiya153! Please open a draft PR linking this issue within 48h |
/assign |
This issue is already assigned to another person. Please find more issues here. |
Fixes #5595 - The portal has been removed, and the focused cell is now rendered directly within the relevant div/container. - This ensures that the cell remains correctly positioned within the table and is properly hidden or unfocused when the user scrolls horizontally, fixing the issue of overlap or visibility on top of other elements. Co-authored-by: Lucas Bordeau <[email protected]>
Fixes twentyhq#5595 - The portal has been removed, and the focused cell is now rendered directly within the relevant div/container. - This ensures that the cell remains correctly positioned within the table and is properly hidden or unfocused when the user scrolls horizontally, fixing the issue of overlap or visibility on top of other elements. Co-authored-by: Lucas Bordeau <[email protected]>
Enregistrement.de.l.ecran.2024-05-27.a.13.41.31.mov
The text was updated successfully, but these errors were encountered: