I was trying to implement a flexbox
to a button. Current browsers work as expected. Testing it in iPhone 5 (iOS 10.3.3), however, didn't work. So I was wondering if there's a Modernizr way of detecting flexbox support in button? Take note that this is specific to button
tag and not the general flexbox support such as Modernizr.flexbox
.
UPDATE: In my specific case I cannot edit the content of the button since it's a react component. So wrapping the content in a span
is not an option as with this solution: Flexbox not working on button or fieldset elements