I am having some issues with styling an element inside an li. I am trying to use a flexbox to render some content horizontally, and when I view it in the simulator in icenium it works great, however on the actual devices (both android and iOS) the rendering is different. You can see the code in this jsfiddle. I know that the devices are using the old flexbox syntax, I can make it look right when the content is outside of an li of a listview, but not inside.
On the actual device the flex elements are rendering vertically instead of horizontally, I have attached an image for illustration purposes on how it looks on a real device.
Is there something about the listview that I need to modify to get this to work correctly? Or am I just better off not using flexbox? (in the example here I have a simple layout without many elements but I am planning on making it more complex and a flexbox would really be nice for implementing it).
On the actual device the flex elements are rendering vertically instead of horizontally, I have attached an image for illustration purposes on how it looks on a real device.
Is there something about the listview that I need to modify to get this to work correctly? Or am I just better off not using flexbox? (in the example here I have a simple layout without many elements but I am planning on making it more complex and a flexbox would really be nice for implementing it).