-
Notifications
You must be signed in to change notification settings - Fork 26
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
scheduler does not conform to the outside parent div #107
Comments
Hi @AsifDaum which package are you using. Its of our or hballtalblhaStch library. Can you try to create a bug in code sandbox if possible |
I was using your library, but the problem was consistent across both. I actually found out what the issue was anyway: One developer had set global css to the scheduler which caused it not to render properly, by simply removing this I was able to get it to a more manageable state.
I commented it out and that caused it to render properly, but the bug that was mentioned by: appeared, where the window had to be resized for it to conform to the layout on first render. I have bypassed this temporarily by doing the following:
I added a resize event to make it adjust to the layout after its first render. I had to also use the besidesWidth to ensure it fit the space correctly, its not perfect since I have a toggle-able sidebar but its working fine for now. Once you guys have corrected its layout issues then I think i'll be able to remove that stuff. |
We will try to solve the issue but not sure how much time it will take as I am also busy with some work so. |
Checklist
Describe the bug
The scheduler does not conform to the outside parent div no matter what I try, the second issue is that when I change the viewType, from day to week or month, the entire scheduler expands outside the div and will not look functional.
Currently the scheduler does not conform to the outside div:
If I change to week:
If I rerender the component it reshapes itself back to a normal size, but its still not conforming to the outside div.
I have tried the
Which is running react not in strict mode, my production version has the same identical issues.
None have worked so far, from my understanding it seems that the resource table have a dynamic width that increases its size dependent on the width rather than the events table.
What could it be and what should I be trying? I would really like this to work in my application.
Reproduction Link/Code
Steps to reproduce
Operating System
windows
Browser
firefox
React version
^18.0.2
react-big-schedule version
^4.2.5
Additional Information
No response
The text was updated successfully, but these errors were encountered: