kolplattformen / skolplattformen

The source code to the civic tech project Öppna Skolplattformen.
https://skolplattformen.org
Apache License 2.0
795 stars 176 forks source link

Replace TouchableOpacity with Pressable #574

Open viktorlarsson opened 2 years ago

viktorlarsson commented 2 years ago

Getting alot of complaints that certain actions blink on call to actions, replace touchableopacity with pressable to avoid this

kajetan-kazimierczak commented 2 years ago

Didn’t we have a problem with tochableopacity and changed it to pressable just to make things clickable again? After some update to RN or something?

viktorlarsson commented 2 years ago

Just that several people complain about the opacity change when tapping, which is default in touchable..opacity. Dunno if we had an issue?

kajetan-kazimierczak commented 2 years ago

https://github.com/kolplattformen/skolplattformen/issues/431 among other

edenstrom commented 2 years ago

I remember that we used TouchableOpacity from react-native-gesture-handler which wasn't correctly installed in the Android version. The version from react-native works.

We should unify how focus/press should look.