xamarin/Xamarin.Forms
[iOS] Setting WebView Source to null/empty string isn't consistent between all three platforms
开放
#3,317 创建于 2018年7月16日
a/webviewe/2 :clock2:help wantedinactivep/iOS 🍎t/bug :bug:up-for-grabs
仓库指标
- 星标
- (5,644 个星标)
- PR 合并指标
- (30 天内没有已合并 PR)
描述
Description
If a WebView source is set to a valid uri and then set back to null it just stays on the uri.
Steps to Reproduce
- WebView.Source = "http://www.xamarin.com"
- let it render
- WebView.source = null
Expected Behavior
WebView should now be blank
Actual Behavior
WebView still shows xamarin.com
Basic Information
- Version with issue: 3.1 -Android: does nothing when set to null and clears out when set to empty -iOS: throws an exception when set to empty -UWP: does nothing when set to null or an empty string