Skip to content

[Nativescript 7] TextField rounded style is broken #276

Open

Description

@mohammadrafigh

Environment

  • CLI: 7.0.7
  • Android Runtime: 6.5.3, 7.0.0

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

Activity

  1. mohammadrafigh commented on Sep 16, 2020

    @mohammadrafigh
    Author

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

  2. soscler commented on Dec 11, 2020

    @soscler

    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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions