Skip to content
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

2 different events on the same spot. #1250

Open
yaniv14 opened this issue May 5, 2020 · 7 comments
Open

2 different events on the same spot. #1250

yaniv14 opened this issue May 5, 2020 · 7 comments

Comments

@yaniv14
Copy link

yaniv14 commented May 5, 2020

Describe the bug

I have 2 different events, both start on the same time but ends in different time.
both got the same % width and left position %.
See attached screenshot.

Please point me to where I should look for a fix.

Screenshots

image1
image2

Versions

  • @angular/core: 9.0.7
  • angular-calendar: 0.28.13
  • Browser name and version: Chrome 81.0.4044.129
@matts-bot
Copy link

matts-bot bot commented May 5, 2020

Thanks so much for opening an issue! If you'd like me to give priority to answering your issue or would just like to support this project, then please consider sponsoring me

@mattlewis92
Copy link
Owner

Hey there, sorry to hear you're having issues, please could you provide a minimal repro on stackblitz that shows your issue. You can fork a starter template from any of the demos. Thank you! 😄

@yaniv14
Copy link
Author

yaniv14 commented May 6, 2020

It will easier for me to try debug it myself if you can point me to which part of the code handle the calculation of left % and event width % in a day/week view.
In my case I am using it RTL so I had to make some css modifications.
Also I did a lot of template modifications so I am not sure if its happens because of something I have done.

p.s: this is only happens in one case (that I have noticed so far).

@no-response no-response bot removed the needs reply label May 6, 2020
@mattlewis92
Copy link
Owner

Ah ok, the logic for positioning events is inside the calendar-utils package here and here. If might help if you make a test case like this and then you can see if the output is correct or not by inspecting the snapshot.

@yaniv14
Copy link
Author

yaniv14 commented May 16, 2020

Thanks for the clear detailed reply.
I won't be able to check it for at least 3 weeks.
I will reply with my results as soon as possible.

@yaniv14
Copy link
Author

yaniv14 commented May 16, 2020

btw, do you think that this calculation might "fail" because of RTL?

@mattlewis92
Copy link
Owner

btw, do you think that this calculation might "fail" because of RTL?

I have no idea really without being able to see a way of reproducing it

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants