open-imcore / imcore.react

React frontend for the MyMessage API!
GNU Affero General Public License v3.0
5 stars 3 forks source link

Fixed an issue where sent tapbacks would go from blue to transparent depending on where you were scrolled #56

Open sabogalc opened 3 years ago

sabogalc commented 3 years ago

I did this by changing the --bubble-from-me-bg: var(--imessage-gradient) line to a hardcoded value of rgb(0, 119, 248). Below is a before/after video comparison.

https://user-images.githubusercontent.com/53708281/123877371-0ebbfa00-d90b-11eb-8edf-826f18a17f2b.mp4

https://user-images.githubusercontent.com/53708281/123877375-0fed2700-d90b-11eb-964c-25b90b592033.mp4

sabogalc commented 3 years ago

For both this pull request and this one, I no longer want to use the previous hardcoded blue values that I selected, but rather, I want to use the #0B84FE color value that came directly from the iOS iMessage app (as seen here). I know hardcoding usually isn't best practice, but I wanted to give these issues a go with my own solutions 😉.