NativeScript / theme

@nativescript/theme
https://v7.docs.nativescript.org/ui/theme
Apache License 2.0
127 stars 44 forks source link

[Nativescript 7] TextField rounded style is broken #276

Open mohammadrafigh opened 4 years ago

mohammadrafigh commented 4 years ago

Environment

Describe the bug -rounded class doesn't work over TextFields in Nativescript 7.0.0.

Screenshot from 2020-09-14 00-50-32

To Reproduce Simple example:

<StackLayout class="nt-form">
    <TextField hint="Rounded" class="-rounded m-t-10"></TextField>
</StackLayout>

Expected behavior The rounded TextField should look like rounded buttons (the same as rounded TextFields before Nativescript 7)

Sample project https://github.com/mohammadrafigh/ns-theme-issue

mohammadrafigh commented 3 years ago

Well after some investigations I found that it's related to theme v2.3.3, because it works perfect in v2.2.1

soscler commented 3 years ago

Got the same problem with Button with -rounded-lg. I was able to fix it by downgrading the version from 2.3.4 to 2.3.0.