useful commenting floating btn style

This commit is contained in:
Nouman Tahir 2021-04-25 03:27:59 +05:00
parent d6df30b45d
commit 4872366abe

View File

@ -95,11 +95,13 @@ export default EStyleSheet.create({
paddingBottom: 16, paddingBottom: 16,
}, },
floatingContainer: Platform.select({ floatingContainer: Platform.select({
//absolute positioning makes button hide behind keyboard on ios
ios: { ios: {
alignItems: 'flex-end', alignItems: 'flex-end',
margin: 16, margin: 16,
marginBottom: 24, marginBottom: 24,
}, },
//on android the appearing of button was causing momentary glitch with ios variant style
android: { android: {
position: 'absolute', position: 'absolute',
right: 16, right: 16,