#439-Dragging-card-beyond-limit #457

Merged
c24elipe merged 4 commits from 439-Dragging-card-beyond-limit into team_2_week_2 2026-04-21 12:13:25 +00:00
Collaborator

Added to line 86 in Dashboard.js to stop it from scrolling horizontaly when you drag an card outside of the bounds

   return (
   	<div
   		class='Dashboard Parent Div'
   		style={{ overflowX: 'hidden', width: '100%' }} // to fix drag problem horizontoly add in css later
   	>
   		<div>
Added to line 86 in Dashboard.js to stop it from scrolling horizontaly when you drag an card outside of the bounds ``` return ( <div class='Dashboard Parent Div' style={{ overflowX: 'hidden', width: '100%' }} // to fix drag problem horizontoly add in css later > <div> ```
added 	style={{ overflowX: 'hidden', width: '100%' }} to the <div class='Dashboard Parent Div'	> will check tomorrow how it behaves with diffrent sized screens and if it works add to css style file
Only aadded "style={{ overflowX: 'hidden', width: '100%' }} // to fix drag problem horizontoly add in css later" to the dashboard div will let i be in inline for now as we will probebly look over the structure of the css files in our project
c24elipe changed title from 439-Dragging-card-beyond-limit to #439-Dragging-card-beyond-limit 2026-04-21 09:55:25 +00:00
Collaborator

I have first reviewed team_2_week_2 branch to see the issue which was that you can pull cards horizontally beyond the grid. Then I switched to 439-Dragging-card-beyond-limit branch to see if this issue has been solved. The issue has not been fully solved. I can still pull the cards to the right but the only difference is that the scrollbar is no longer visible.

I checked the Dashboard.js and reviewed the changes made which were adding "style={{ overflowX: 'hidden', width: '100%' }}". This appears to only hide the content which is outside of the grid rather than actually preventing to pull the cards to the right.

In conclusion this PR cannot be merged right now as it is not yet complete as it only partially solves the problem.

I have first reviewed team_2_week_2 branch to see the issue which was that you can pull cards horizontally beyond the grid. Then I switched to 439-Dragging-card-beyond-limit branch to see if this issue has been solved. The issue has not been fully solved. I can still pull the cards to the right but the only difference is that the scrollbar is no longer visible. I checked the Dashboard.js and reviewed the changes made which were adding "style={{ overflowX: 'hidden', width: '100%' }}". This appears to only hide the content which is outside of the grid rather than actually preventing to pull the cards to the right. In conclusion this PR cannot be merged right now as it is not yet complete as it only partially solves the problem.
Author
Collaborator

The fix is not perfect but have been approved by TL to merge.

The fix is not perfect but have been approved by TL to merge.
Collaborator

Ok!

Ok!
c24elipe merged commit 87854cf96a into team_2_week_2 2026-04-21 12:13:25 +00:00
c24elipe deleted branch 439-Dragging-card-beyond-limit 2026-04-21 12:13:26 +00:00
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Andras/BoundlessFlowCampus2K!457
No description provided.