hiyaryan / the-cdj

The Cognitive Distortion Journal (CDJ) is a smart journaling tool that helps remedy distorted thinking. It can feel impossible to follow the CBT technique of labeling distorted thinking and finding alternative modes of thought (i.e. reframing) while cognitive distortions are occurring. The CDJ does that work for you. -- The CDJ is in beta testing!!
https://thecdj.app
2 stars 0 forks source link

Show scroll bars in scrollable boxes #117

Open hiyaryan opened 5 months ago

hiyaryan commented 5 months ago

A user was reading an entry and did not know they could scroll to read the remainder of the text. This made them think the analysis was incomplete such that it stopped generating content. To resolve this, always show the scroll bar.

hiyaryan commented 5 months ago

Showing the scroll bar always comes with its challenges as it is not as simple as enforcing it and it appearing across all browsers and operating systems. Additionally, it seems to not be such a straight forward task.

Another approach to showing that there is more content to view is to add a gradient to the bottom of the Box. This seems to be the better approach, but it is also going to take longer than simply toggling a switch. Additionally, the gradient should go away once the Box has reached the end of the content.

For now this issue will go into the backlog as it is lower on the list of priorities. Eventually the user discovered they could scroll.