Incorrect UIWebView contentInsets when split keyboard (iPad) is at the bottom of the screen
| Originator: | bpolaczyk | ||
| Number: | rdar://17745907 | Date Originated: | 21.07.14 |
| Status: | Closed | Resolved: | iOS 8 beta 4 |
| Product: | iOS | Product Version: | 6.0 & 7.0 |
| Classification: | Reproducible: | Always |
Summary: Instance of UIWebView sets incorrect contentInsets and scrollIndicatorInsets when split keyboard pops up to the bottom of a screen (previously split keyboard has been dragged there). Mentioned insets stay the same even keyboard disappears and UIWebView's background is taking its place. This bug is reproduciable also on Safari. Problem described also: https://devforums.apple.com/message/919881#919881 Steps to Reproduce: The easiest way is to reproduce on Safari: 1. Open google.com (or any other page that contains <input>) 2. Set focus for <input> element 3. Split keyboard using pinch-out gesture 4. Drag keyboard to the bottom of the screen using bottom right button with keyboard icon 4a. Make sure that split keyboard is at the very bottom of a screen 5. Lose focus of <input> or simply hide keyboard somehow 6. Gain focus back to <input> 7. Swipe up&down website to see UIWebView's background 8. Lose focus of <input> to hide keyboard Expected Results: Insets are zeroing and no background canvas is visible on a screen. Actual Results: Website has bottom insets and canvas background is visible: about 264/352px height (height the same as keyboard). Situation keeps the same when orientation changes. Version: 6.0 (10A403), but seen on iOS7 too Notes: This issue is reproducible both on custom UIWebView and Safari's UIWebView. Configuration: iPad 3, iOS 6.0, Wifi
Comments
Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!
Issue fixed in iOS8, build 12A4331d