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

fix(ios-searchbar): fix crash with auto-sized searchbar in iOS11 Fixes #5655 by manoldonev · Pull Request #5658 · NativeScript/NativeScript · GitHub

fix(ios-searchbar): fix crash with auto-sized searchbar in iOS11 Fixes #5655 - #5658

Merged
manoldonev merged 2 commits into
masterfrom
mdonev/searchbar-ios-layout-fix
Apr 12, 2018
Merged

manoldonev merged 2 commits into
masterfrom
mdonev/searchbar-ios-layout-fix

Conversation

manoldonev commented Apr 11, 2018
edited
Loading

Copy link
Copy Markdown
Contributor

Apparently iOS11 SDK does not support passing sizeThatFits(...) non-finite width value any more.
In a scenario where searchbar should be auto-sized(grid with auto column) our measure logic always passes infinity values in case layout mode is unspecified so we extend the UISearchBar widget and add the fix there.

manoldonev self-assigned this Apr 11, 2018
ghost added the in progress label Apr 11, 2018
manoldonev force-pushed the mdonev/searchbar-ios-layout-fix branch from 460a4a3 to 0197ee1 Compare April 11, 2018 16:01
manoldonev force-pushed the mdonev/searchbar-ios-layout-fix branch from 0197ee1 to 090b1b5 Compare April 11, 2018 16:07
manoldonev added this to the 4.1 milestone Apr 11, 2018

Copy link
Copy Markdown
Contributor Author

@SvetoslavTsenov Added new test page for UI test app ^^^

manoldonev force-pushed the mdonev/searchbar-ios-layout-fix branch from 1058a28 to 1a6fc6e Compare April 12, 2018 08:58
manoldonev merged commit 555e592 into master Apr 12, 2018
ghost removed the in progress label Apr 12, 2018
manoldonev deleted the mdonev/searchbar-ios-layout-fix branch April 12, 2018 11:13

lock Bot commented Aug 26, 2019

Copy link
Copy Markdown

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

lock Bot locked and limited conversation to collaborators Aug 26, 2019
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

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

3 participants


Back | FazBrowse Home | New Git URL