FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

SearchBar component without a width attribute crashes the app without error logs · Issue #5655 · NativeScript/NativeScript · GitHub

SearchBar component without a width attribute crashes the app without error logs #5655

Description

Please, provide the details below:

Did you verify this is a real problem by searching the [NativeScript Forum]

Yes

Tell us about the problem

Adding a SearchBar component to a column with size auto and with no specified size crashes the app without any error logs.

Which platform(s) does your issue occur on?

Tested on iOS simulator

Please provide the following version numbers that your issue occurs with:

  • CLI: 4.0.0
  • Cross-platform modules: 3.3.0
  • Runtime(s): tns-ios: 3.2.0
  • Plugin(s): "kinvey-nativescript-sdk": "3.8.0",
    "nativescript": "^4.0.0",
    "nativescript-camera": "^3.1.3",
    "nativescript-drop-down": "^3.0.2",
    "nativescript-fonticon": "^1.1.1",
    "nativescript-geolocation": "^3.0.1",
    "nativescript-mapbox": "^3.1.1",
    "nativescript-materialdropdownlist": "^1.0.15",
    "nativescript-pdf-view": "^2.0.1",
    "nativescript-push-notifications": "^0.1.3",
    "nativescript-sqlite": "^1.1.7",
    "nativescript-statusbar": "^3.0.1",
    "nativescript-telerik-ui": "2.0.1",
    "nativescript-theme-core": "^1.0.4",
    "tns-core-modules": "^3.0.0"

Please tell us how to recreate the issue in as much detail as possible.

  • Create a new ns app
  • Modify the view xml to include the code below
  • Launch the app in the ios simulator

Is there code involved? If so, please share the minimal amount of code needed to recreate the problem.

<page xmlns="http://schemas.nativescript.org/tns.xsd" xmlns:drawer="nativescript-telerik-ui/sidedrawer" xmlns:widgets="shared/widgets" xmlns:lv="nativescript-telerik-ui/listview" xmlns:statusbar="nativescript-statusbar" xmlns:dd="nativescript-drop-down" loaded="onPageLoaded">
 <GridLayout rows="auto, auto, *" columns="auto, *" loaded="contentLoaded">
   <SearchBar id="searchBar" hint="Search" text="" clear="onClear" submit="onSearchSubmit"/>   
 </GridLayout>
</page>

Activity

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

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions


    Back | FazBrowse Home | New Git URL