marzubov / ember-calendar

An awesome Ember calendar, designed with composability and reusability in mind.
MIT License
2 stars 5 forks source link

Allow for scrolling in day/week views #5

Open jamesdixon opened 8 years ago

jamesdixon commented 8 years ago

Currently, the entire calendar scrolls. I'm suggesting that the calendar header to be fixed and have the actual time table area scroll. This would mimic iCalendar as well as Google Calendar and allow for future addition of "all-day" events that should remain fixed to the top of the screen.

Thoughts?

marzubov commented 8 years ago

@jamesdixon Definitely. I think we just need to wrap .as-calendar-timetable__row into some container and give it styles:

.container {
  height: 75vh;
  overflow: auto;
}
marzubov commented 8 years ago

@jamesdixon "all-day" events are very nice addition. Those events have to be contained in the row under day names row. They will always stay on top if days container is scrollable. I think it should have separated issue.

jamesdixon commented 8 years ago

Agreed. Should be relatively simple.