This PR fixes a regression from #1165 where the original post/comment was not selectable.
To do this, I've added selectable parameters to PostSubview and CommentContent. This selectable parameter is applied to the markdown body, so any text within the markdown body can be selected. This does mean that the metadata (author, upvotes, etc) cannot be selected but I believe that should be fine!
I also adjusted the filled background to be less "bright". The original post/comment should now be using the same background colour as the cross-posts background colour. Hopefully, this change is alright!
Pull Request Description
This PR fixes a regression from #1165 where the original post/comment was not selectable.
To do this, I've added
selectable
parameters toPostSubview
andCommentContent
. Thisselectable
parameter is applied to the markdown body, so any text within the markdown body can be selected. This does mean that the metadata (author, upvotes, etc) cannot be selected but I believe that should be fine!I also adjusted the filled background to be less "bright". The original post/comment should now be using the same background colour as the cross-posts background colour. Hopefully, this change is alright!
Issue Being Fixed
Issue Number: N/A
Screenshots / Recordings
Comment
https://github.com/thunder-app/thunder/assets/30667958/31ebcef3-c402-4d9a-b7a4-56160f5a945d
Post
https://github.com/thunder-app/thunder/assets/30667958/0fe0500a-48be-4735-a0ee-f9e9bd0939da
Checklist
semanticLabel
s where applicable for accessibility?