CSSUoB / CSSUoB/cssuob.github.io

Calendar "Switch View" Button Disappearing

Open
#165 7 comments 0 reactions 0 assignees View on GitHub
enhancement good-first-issue
Dominant language
HTML
Stars
29
Forks
44
Avg merge
3d 16h
Merged PRs (30d)
15

Description

Bit of a weird one since I assume this is partially intended functionality but if you use the button to toggle to back and forth, then resize the window to be 900px or less in width the switch view button disappears but doesn't change the calendar display to the schedule mode. If, however, you refresh the page with it still at that size then it automatically switches to schedule mode and the button still isn't there - which I assume is the intended functionality. The issue also doesn't happen if you resize the window without using the button beforehand, it only happens if you toggle the button before resizing.

![image](https://user-images.githubusercontent.com/18513864/130366895-22cc0d71-c4e7-4157-a7b6-c672d435015a.png)

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the toggle-then-resize sequence at 900px or less, and compare it with resizing without toggling or refreshing at that width. Trace the calendar's responsive view selection and Switch View button visibility; done means resizing after a toggle also switches to schedule mode or otherwise preserves the intended responsive behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
html
Domain
frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.