Weird style using default button after upgrading to 1.0.0-beta7
See original GitHub issueI have been working using React Native Elements version 0.18.4 Everything was OK
Today, I’ve upgraded to 1.0.0-beta7 (so I can try out themes and new features) but all the button got a weird style (see the image below):

Do you see the shadow and and the weird style of the button?
The code is the same as I had before (nothing changes):
<Button
raised
icon={{ name: 'cached' }}
key={1}
title='BUTTON WITH ICON' />,
<Button
key={2}
/>,
<Button
raised
containerViewStyle={ComponentsStyle.outlineLargeButton}
large
key={3}
rounded
borderRadius={35}
color='#336688'
outline
title='example'
/>`
The problem started after upgrading the version of React Native Elements.
react-native-cli: 2.0.1
react-native: 0.57.7
Thanks
Issue Analytics
- State:
- Created 5 years ago
- Reactions:2
- Comments:5
Top Results From Across the Web
Overriding Default Button Styles | CSS-Tricks
This is a bit surprising to me — but I hear it often enough to worry about it — is that more and...
Read more >Button Style Before iOS 15.0 warni… | Apple Developer Forums
Been bugging me too. Discovered when you add a new button it now comes in with style Plain. Change it to "Default" and...
Read more >Android default button styling not working - Stack Overflow
Using AppCompat 22.1.+ ( 22.2.0 should work too), I defined a Style like this: <style name="MyApp.Button.Red" parent="Base.Widget.AppCompat.
Read more >Changelog ⚡️ FormKit — Vue Forms, Supercharged
Fixed a bug that caused default icons to never load when included directly in the configuration. Fixed a bug where a checkbox validation...
Read more >Weird default style triggers for some basic controls like Button
DevTools will show me that the Button has Red background, but the rendering will use the IBrush "ButtonBackgroundPointerOver". I understand ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

Hey @fgagneten 👋 Thanks for taking the time to upgrade to 1.0.0-beta7 !
The API of the
Buttonhas changed a bit because it has been fully refactored, you can see the updated API here.The first things I see in your code:
borderRadiusandcolordoesn’t exist anymore, you need to apply it through the stylescontainerViewStylebecamecontainerStyleMaybe you should use the repo with
nextbranch directly because we added back atypeprops that can beraised,outlineandsolid. This will be in the next release, and we planned to write a migration guide from to1.0.0. Feel free to post some screens of your buttons before the update, and we can help you to get the good UIDuplicate of #1547