-
Notifications
You must be signed in to change notification settings - Fork 65
Ion-searchbar shows white rectangle on iOS when blurred #139
Comments
Hello, thanks for using Ionic. Unfortunately, i cannot reproduce this issue, would you be able to post a repo we could use to reproduce this? Also, are you running into this issue on a dev or prod build? |
From @appelstroop on May 12, 2017 9:15 Thanks jgw, we have this issue both with dev & prod builds. Both iphone SE and iphone 6 tested. I created a a repo to reproduce this issue! |
From @asplundo on May 12, 2017 10:25 Dont know if its the same issue but it behaves the same with tabs. Its simple to reproduce, create a new tabs project, add a search-bar and then focus and blur. The tabs wont be on the bottom at first, rather "jump" to its correct position when the keyboard is closed. |
From @appelstroop on May 12, 2017 11:2 @asplundo Yes, we tried with tabs as well, is related to the same issue. With regular ion-input fields it works fine |
Hello everyone! Would you all mind checkout out this doc and try the solution there? Thanks! |
From @appelstroop on May 19, 2017 11:0 Thanks @jgw96! This specific wkwebview branch does fix the blur of searchbar :) No white rectangle in iOS. Unfortunately, this does break hiding keyboard on an ion-scroll subscription. This does often leave a white rectangle in the bottom. See this branch: a ionic-searchbar-bug#wkwebviewfix-scroll-issue |
Ahh good find! At this point I am going to move this issue to the wkwebview repo as this is now an issue with wkwebview. Thanks for using Ionic! |
i don't understand the issue, a white rectangle where? gif? |
Hi @manucorporat, This issue was moved from Ionic. The wkwebview plugin fixes some keyboard issues, but the following movie shows that ionScroll events leaves a white rectangle where the keyboard was: |
@appelstroop Best regards |
Hello @jgw96 - any update on this? Thanks |
From @appelstroop on May 11, 2017 15:30
Ionic version: (check one with "x")
[ ] 1.x
[ ] 2.x
[x] 3.x
I'm submitting a ... (check one with "x")
[x] bug report
[ ] feature request
[ ] support request => Please do not submit support requests here, use one of these channels: https://forum.ionicframework.com/ or http://ionicworldwide.herokuapp.com/
Current behavior:
On iOS, when the ion-searchbar element blurs, the keyboard leaves a white square at the bottom of the screen.
Expected behavior:
Worked fine in ionic 2.x
Steps to reproduce:
Deploy to iOS. Click on searchbar to focus. Then blur the search-bar by clicking on a button (or something similar)
Related code:
Other information:
Tested on ionic starter as well, to make sure the issue was not related to our app.
Ionic info: (run
ionic info
from a terminal/cmd prompt and paste output below):Copied from original issue: ionic-team/ionic-framework#11613
The text was updated successfully, but these errors were encountered: