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

Slot event display doesn't match #633

Open
SamirGrpADF opened this issue Mar 24, 2022 · 3 comments
Open

Slot event display doesn't match #633

SamirGrpADF opened this issue Mar 24, 2022 · 3 comments

Comments

@SamirGrpADF
Copy link

SamirGrpADF commented Mar 24, 2022

Hi,

I'm building a calendar and I have an issue with the diplay of event.

No issue with the starting time which displays the event at the correct starting point. The problem is with the end time, which makes the display of event behavior a little eratic.

Here's an example of the day view:

image

And the corresponding data:

image

Do you have any idea how I could fix this?

Thanks for your help.

@twinssbc
Copy link
Owner

@SamirGrpADF Do you mean the endTime should end at 5-6PM slot, but it now ends at 3PM slot? Did you make any view customization in your project?

@SamirGrpADF
Copy link
Author

Hi,

Yes the event should finish at 5.37PM but it ends at 3PM.
I'm using the template as below to customize the template and even without the template the start time is correct but the end time is not.

<ng-template #templateWeek let-displayEvent="displayEvent"> <div [ngStyle]="{'background-color': displayEvent.event.backgroundColor}" class="calendar-event-inner">{{displayEvent.event.title}}</div> </ng-template>

@twinssbc
Copy link
Owner

@SamirGrpADF Could you share more code how are you using the calendar? And which version of Ionic and calendar control are you using?

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

No branches or pull requests

2 participants