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

Decouple IconButton from InputLabel. #110

Closed hiyaryan closed 5 months ago

hiyaryan commented 5 months ago

Final commit on this branch moves the collapse IconButton out of the InputLabel. This caused strange behavior where the TextField was trying to autofocus when collapsing/uncollapsing. The button should only have one function, to collapse the Chat or uncollapse it. This PR fixes that.