nativewind icon indicating copy to clipboard operation
nativewind copied to clipboard

Nativewind 4 and Material Top Tabs - Tab alignment issues

Open bhyoo99 opened this issue 1 year ago • 1 comments

Discussed in https://github.com/marklawlor/nativewind/discussions/852

Originally posted by foureight84 March 16, 2024 I just added Nativewind 4.0.36 to my Expo 50 project that's currently using Material Top Tabs and I am seeing that the tabs alignment are off. Not sure how to fix this issue.

https://github.com/marklawlor/nativewind/assets/1146028/17c96b8a-1d93-40f7-9af1-01cc46061e2c

TEMP soloution

add tabBarContentContainerStyle: { flex: 1, flexDirection: 'row', justifyContent: 'space-around', },

but still pressable area looks like this

image

here is reproducible demo repo https://github.com/bhyoo99/nativewind-material-top-tabs

bhyoo99 avatar May 18 '24 14:05 bhyoo99

Thanks you!

kwangjaeyoo avatar Jun 10 '24 00:06 kwangjaeyoo

We are closing all pre-v4.1 issues now that v4.1 is released. If the problem is still happening with the latest v4.1, please open a new issue and reference this one in the description.

danstepanov avatar Sep 02 '24 23:09 danstepanov