You signed in with another tab or window.
Reload
to refresh your session.
You signed out in another tab or window.
Reload
to refresh your session.
You switched accounts on another tab or window.
Reload
to refresh your session.
By clicking “Sign up for GitHub”, you agree to our
terms of service
and
privacy statement
. We’ll occasionally send you account related emails.
Already on GitHub?
Sign in
to your account
Thanks for submitting your issue. Can you take another look at your description and make sure the issue template has been filled in its entirety?
👉
Click here if you want to take another look at the Bug Report issue template.
marquesjordan, ahmadAlMezaal, jota12x, Durkaen, jagwingchoy, mjmacheli, nahuelb, raul-saez, Suesanz, noctifer20, and 5 more reacted with thumbs up emoji
marquesjordan reacted with hooray emoji
marquesjordan and cenaHara reacted with heart emoji
marquesjordan, Suesanz, and fariskhan563 reacted with rocket emoji
All reactions
Hey
@kubilaykiymaci
thanks for the answer as you said elevation is working but there is an other problem if I use touchableopacity and if it is overlapping to a view it is being unclickable.
<TouchableOpacity onPress={() => alert("oonon")} style={{ position: 'absolute', top:0 , left: 0, elevation: 3, zIndex: 4, backgroundColor: 'red', width: 200, height: 200 }}></TouchableOpacity> <View style={{ position: 'absolute', top:100 , left: 100, zIndex: 1, elevation: 2, backgroundColor: 'black', width: 200, height: 200 }}></View>
i can't say anything then. i should check your code and style file. maybe you have another transparent layer which is infront of your touchable. maybe you have a container which has higher zIndex and background color transparent. but i know that zIndex and elevation works on android, i used it in my project.
you should change the order of your Elements,
let's say you have.
<TouchableOpacity><Text>Close</Text></TouchableOpacity>
<View></View>
To fix it Change it to :
<View></View>
<TouchableOpacity><Text>Close</Text></TouchableOpacity>
you should change the order of your Elements,
let's say you have.
<TouchableOpacity><Text>Close</Text></TouchableOpacity>
<View></View>
To fix it Change it to :
<View></View>
<TouchableOpacity><Text>Close</Text></TouchableOpacity>
thanks Man worked