Comments (8)
Hi, I realize it happens because my date was greater than 1 day.
start: 2020-02-19 10:00:00
end: 2020-02-20 15:00:00
if the start and end date are the same, the width will full.
I hope this can be handled with a different start date and end date.
from kvkcalendar.
Thanks for the reply!
I have just tried with these times and I get the same issue... I think maybe it would be good if they were added 1 after the other... at the moment it will insert the event in a gap if the time is free..
-Start. -End
"2020/05/19 12:00": "2020/05/19 15:00",
"2020/05/19 11:45": "2020/05/19 14:30",
"2020/05/19 12:45": "2020/05/19 15:30",
"2020/05/19 15:05": "2020/05/19 16:30",
"2020/05/19 10:45": "2020/05/19 12:30",
"2020/05/19 10:25": "2020/05/19 14:30"
from kvkcalendar.
Hi, need to check TimelineView.swift
... where the width is calculated. 🤔
from kvkcalendar.
Hi,
Just a quick question.. I noticed that when you have more than 2 events in the same 'Hour/multiple hours' you start to get the same effect (The white space on the right).
Is it just me, or is this how it works? Believe it has something to do with the "countEventsInHour" function, maybe the +1? not quite sure
Would really appreciate it if you could let me know... If i figure it out I'll post it here too!
from kvkcalendar.
Just had another thought.. I believe it is calculating all the events between the start of the first event which is overlapping and the last ending event... so if you have multiple i.e 9 events in the space of 2/3 hours however within the first hour you only have 5 then you should get 5 columns and not 9... but at the moment you have 4 extra white spaces... Probably sounds a bit confusing, sorry!
from kvkcalendar.
Just had another thought.. I believe it is calculating all the events between the start of the first event which is overlapping and the last ending event... so if you have multiple i.e 9 events in the space of 2/3 hours however within the first hour you only have 5 then you should get 5 columns and not 9... but at the moment you have 4 extra white spaces... Probably sounds a bit confusing, sorry!
Hello,
You're right. I'm still working on improving the algorithm for calculating width of events in the same hour.
Perhaps, you have an event with a long duration.
Can you send the time of the events? I'll check.
from kvkcalendar.
Hello! Sorry to ask, is there any chance you have had a look at this? I still cant figure it out, not quite sure what is causing the issue
from kvkcalendar.
Hello! Sorry to ask, is there any chance you have had a look at this? I still cant figure it out, not quite sure what is causing the issue
Hi, can you attach the screenshot and the code? maybe I can help
from kvkcalendar.
Related Issues (20)
- Incorrect title color for month name in month view
- Missing vertical lines at week view HOT 9
- Lazy Loading of agenda view HOT 17
- didChangeEvent returns wrong date (number of the month) when drag event at the junction of the months HOT 1
- didChangeEvent returns wrong (number of month) when drag event at the junction of the months HOT 1
- How to get month name in month view? HOT 7
- Trying to add overlay in SwiftUI HOT 1
- what is year in KVKCalendarView init? HOT 1
- need to show calendar in Ipad with iphone screen size HOT 7
- How to get next and previous in month view HOT 5
- date selection of agenda view section header can be disabled HOT 3
- Getting Errors While Running the Project After Pod install HOT 7
- Crash in month view when the device orientation is changed HOT 1
- Crash in year view when the view height is small HOT 2
- When working in SwiftUI, I am having trouble with event creation. I longpress on the screen to create an event, but when I let go, the event disappears. HOT 5
- Bitrise build swift compiler error HOT 3
- Unable to capture the view hierarchy
- The event preview size will become the size of the last tapped event
- Incorrect MonthView 29th of Feb in March HOT 1
- KVKCalendar/KVKCalendarView.swift:114: Fatal error: init(coder:) has not been implemented HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from kvkcalendar.