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

Fixed: SearchBar.textFieldHintColor not respected on iOS · Issue #1807 · NativeScript/NativeScript · GitHub

Fixed: SearchBar.textFieldHintColor not respected on iOS #1807

Description

As stated in the title, the textFieldHintColor property of SearchBar does not work when it's inside the ActionBar (tested in ActionBar.titleView). If I move the SearchBar outside the ActionBar tag, it works.

Tested on iOS only. As seen in the screenshot, the text color is gray, but should be white:

<Page.actionBar>
  <ActionBar title="{{ language.matches_title }}">
    <ActionBar.titleView>

      <AbsoluteLayout row="0" id="searchBar-container">
        <SearchBar top="0" id="searchBar" hint="{{ language.searchMatches }}" textFieldHintColor="#ffffff" textFieldBackgroundColor="#48af7a" width="{{ searchBarWidth }}" />
        <StackLayout top="0" class="border" width="{{ searchBarWidth }}" />
        <StackLayout top="43" class="border" width="{{ searchBarWidth }}" />
      </AbsoluteLayout>

    </ActionBar.titleView>
  </ActionBar>
</Page.actionBar>

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions


      Back | FazBrowse Home | New Git URL