richardtop / CalendarKit

📅 Calendar for Apple platforms in Swift
https://www.youtube.com/watch?v=cJ63-_z1qg8
MIT License
2.52k stars 340 forks source link

Auto scroll should work while dragging or resizing events. #264

Open shaikhshoeb opened 4 years ago

shaikhshoeb commented 4 years ago

New Issue Checklist

Issue Description

Code I'm using with CalendarKit

[INSERT CODE HERE]

Result I am trying to achieve

[INSERT API OR UI MOCKUPS HERE]

shaikhshoeb commented 4 years ago

Auto scroll should work while resizing and dragging event up and down

richardtop commented 4 years ago

Could you attach a video demo of the issue? Or a bit more detailed explanation?

shaikhshoeb commented 4 years ago

[Uploading RPReplay_Final1594741802.MP4.zip…]()

Like when you drag event out of window scrollview should scroll up/down. if ur resize event it should scroll up and down like i had attached the video

richardtop commented 4 years ago

Please wait for your file to upload before sending a reply.

shaikhshoeb commented 4 years ago

RPReplay_Final1594741802.MP4.zip

Like when you drag event out of window scrollview should scroll up/down. if ur resize event it should scroll up and down like i had attached the video

richardtop commented 4 years ago

Thank you, the idea is clear. Taken as an enhancement now.

richardtop commented 4 years ago

Also, if you're using editing API, I'd be happy to hear how are you doing so, please write me an email if you want to discuss it further.

shaikhshoeb commented 4 years ago

I am not using any editing api. The calanderKit demo is good to customise. yes we had done many enhancement with code. I would like to know when will this issue get solve ?

richardtop commented 4 years ago

I wouldn't recommend getting any inspiration from CalendarKit demo as it serves just one purpose: to develop the library. Unfortunately, I can't give any timeline on this issue being solved, unless you're interested in sponsoring it's development. Bugfixes are prioritized and of course, you're welcome with your pull request if you'd like to introduce this feature.

I'm curious in what way are you using the library, so that I could find a better direct it's development, so feel free to drop me a line with a short description of the app you're developing.

How critical is this issue for you?

shaikhshoeb commented 4 years ago

I would like to inform you that the app in which i had used this library is very important for me. and i m facing this issue since so long. i am using this library in my app to maintain task management system through app device.

it will very helpfull if you help us to make this library better.

shaikhshoeb commented 4 years ago

Check the apple calendar app and google calendar app they had done scrolling while editing and dragging/Moving Blocks of events.

shaikhshoeb commented 4 years ago

Any update on this?

richardtop commented 4 years ago

Hi, thanks for following up! So far I'm focusing on fixing the critical issues tagged with "bug" tag and only then I'll be starting working on the enhancements. However, you're welcome to propose a pull request to resolve this issue and I'll make sure to help you / answer any questions you might have.

shaikhshoeb commented 4 years ago

Can you give me an idea for auto scrolling event while dragging and resizing ?

richardtop commented 4 years ago

An idea is to track the position of the event and scroll the Timeline when the event is close either to the beginning or the end of the timeline.