skolplattformen icon indicating copy to clipboard operation
skolplattformen copied to clipboard

Replace TouchableOpacity with Pressable

Open viktorlarsson opened this issue 3 years ago • 4 comments

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

viktorlarsson avatar Dec 02 '21 09:12 viktorlarsson

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?

kajetan-kazimierczak avatar Dec 02 '21 21:12 kajetan-kazimierczak

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

viktorlarsson avatar Dec 14 '21 08:12 viktorlarsson

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

kajetan-kazimierczak avatar Dec 15 '21 14:12 kajetan-kazimierczak

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.

edenstrom avatar Dec 15 '21 15:12 edenstrom