question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Event goes outside the calendar when dragging it down and up again (day view)

See original GitHub issue

Describe the bug Hello, In this last release (0.27.5) it was added the support of scrolling when dragging events, though when I drag an event down so that the calendar scrolls down and then I drag it back up, the event exceeds the top line of the calendar. From what I can see this its only happening on the day view, because in the week view it works perfectly.

Minimal reproduction of the problem with instructions

This issue can be reproduced in both the demos “Day view scheduler” and in the day view of “Kitchen sink”.

Example of issue on demo “Day view scheduler”:

  • Hold the event called “An event” at 5 AM and drag it down so the 12 AM line gets out of the view.
  • Without letting it go, scroll back up with the event and it goes way past the top line of the column, exceeding the name “John smith”. Is it possible to limit the drag of the event until the first line of the day view? It works when the scroll is not used. Screenshots

Versions

  • @angular/core: 7.1.0
  • angular-calendar: 0.27.5
  • Browser name and version: Chrome 73.0.3683

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:5 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
hugocaldeiracommented, Apr 24, 2019

Got it, thank you.

On Apr 24, 2019 at 19:01, <Matt Lewis> wrote:

Oh how strange, weird that it works on one view but not the other! Workaround for now is to stick to the older version of the drag and drop lib or use the week view with [daysInWeek]=“1” set to emulate the day view: https://stackblitz.com/edit/angular-j5kje1?file=demo/component.ts

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or mute the thread.

0reactions
hugocaldeiracommented, Apr 29, 2019

Cool! Thank you!

Hugo Caldeira Diretor Técnico | /Chief Technology Officer/ inventore : oficina de software +351 226 181 557 tel:+361226181557 ⚬ inventore.pt https://inventore.pt

Porto Rua Francisco Carqueja, 179 2º esq. 4350-185 Porto

Lisboa Rua José Saramago 5A - Sala E 53 1675-180 Pontinha

On 27/04/19 16:30, Matt Lewis wrote:

Fixed in |0.27.7|!

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/mattlewis92/angular-calendar/issues/958#issuecomment-487295368, or mute the thread https://github.com/notifications/unsubscribe-auth/AEDUMZLI4LUSJURBGLWCAITPSRWSPANCNFSM4HIEYH4A.

Read more comments on GitHub >

github_iconTop Results From Across the Web

FullCalendar prevent event dropped outside of business hours
I'm using the FullCalendar plugin and trying to make it so you can't drop a new event when its being dragged into something...
Read more >
Drag and drop - Google Calendar Community
I want to move a calendar event by using drag and drop on my Android ... I tried to pick up an event...
Read more >
Docs Event Dragging & Resizing - FullCalendar
It's possible to take elements that live outside of a calendar and make them drag-and-droppable. When they are dropped on a specific date...
Read more >
Google Calendar Hold & Drag Events not working
Ever since updating my Oneplus 7 Pro to 10.3.5 I cannot hold and drag calendar events and it's driving me insane. I use...
Read more >
12 Google Calendar Tricks You're Probably Not Using | PCMag
Google can send a list of the day's tasks right to your inbox. To set it up, go to your list of calendars...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found