Add mouse scroll up/down event for next/back page in calendar view
navakelvin opened this issue · comments
What would you like to be added?
Bind the scroll up and down event to go forward or back in the calendar view.
PS: Possible conflict to take into account if the scroll event is bound to a function.
- If a day has several events/notes and the box keeps its size and a scroll bar appears inside the note.
- If a day has several events/notes and the note fits the length, then in theory a scroll bar would appear for the full calendar view.
PS2: Perhaps it could be assigned the Left and Right keys.
Why is this needed?
Usability for calendar.
I like the idea, though I think the way the calendar works right now could make it a little awkward to use. For example, each day has a minimum height, below which the calendar gets a scrollbar. If a day has more events than can fit in the box, it adds a scrollbar.
Before we introduce this feature, I think we should find a way to remove scrollbars from the other parts of the calendar that might interfere.
Yes, just as you indicate.
Oh now I see. So the current behavior is: Fixed day boxes that show scroll bar when exceeded. And fixed general calendar box that never show scroll bar. Cool Marcus.
Some ideas:
- Option 1. (If mapping events to functions allows it) Alt + Scroll to the calendar pagination, thus leaving the solo scroll function intact for the days scroll bar.
- Option 2. Assign the scroll event exclusively to the calendar pagination, and as for the days box: Discard its scroll bars, and opt for: when the box exceeds X number of events, show an "X more" button to expand a hover with a long view of the days. (G Calendar style).
P.S. I think the days scrollbars are not annoying. You can see what you have in a day by scrolling a little in the month view.
I would like other users to give their perspective.