thamara/time-to-leave

Cannot scroll down the window in calendar view / mode

timagixe opened this issue · 7 comments

Describe the issue
When app is opened on month view, user cannot scroll the app when mouse is over the HH:MM input row.

To Reproduce
Steps to reproduce the behavior:

  1. Go to Calendar view
  2. Change the window size to make scroll bar appear
  3. Hover mouse over hours and minutes input and try to scroll down
  4. The window won't scroll

Expected behavior
The window is scrollable

Environment

  • Node/npm version: node 16
  • OS: latest mac os
  • TTL version: latest

Screenshots

Screen.Recording.2023-02-19.at.11.07.41.AM.mov

This is intended behavior. Placing the mouse on lines turns the scroll wheel into horizontal scrolling. So one can see better when there are many entries.

I wonder if we could make it more dynamic though. Making it so the scrolling only changes when there is active content to scroll.

Or even do something like: switch to horizontal scrolling, but if it reaches the edges of horizontal scrolling (leftmost or rightmost scroll position) then start scrolling vertically.

Hey! I think I've fixed the issue. Doing a pr right now

Could you assign me to this? I tried to do a pr but didn't have permission

You need to fork the repo and then do a PR. Only maintainers have rights to create branches and push directly on the repo.

my bad, i've forked and made a pull request!