bug: VitaminButtons do not work properly with iOS15 plain button
daniel-dumortier opened this issue · 0 comments
daniel-dumortier commented
Describe the bug
When you drag a button in a storyboard in Xcode 13+, it is automatically forced with the 'Plain' configuration.
With this configuration, the styling of VitaminButton does not work well (especially the bacjground color)
Steps to reproduce
- add a Button to your storyboard
- check in the attribute inspector that its "Style" property is set to anything else than Default (it should be Plain)
- programmatically assign a .primary Vitmain style to this button
- run your app
- button will have no background
Expected behavior
the button should have a coloured background
Device (please complete the following information):
- Model: iPhone 8 (but that does not depend on the phone)
- OS: iOS
- Version: 15.4