{ "id": "85856", "key": "TIMOB-7519", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false }, "project": { "id": "10153", "key": "TIMOB", "name": "Titanium SDK/CLI", "projectCategory": { "id": "10100", "description": "Titanium and related SDKs used in application development", "name": "Client" } }, "fixVersions": [], "resolution": { "id": "10100", "description": "This issue won't be actioned.", "name": "Won't Do" }, "resolutiondate": "2020-01-09T19:48:04.000+0000", "created": "2012-02-02T11:08:21.000+0000", "priority": { "name": "Medium", "id": "3" }, "labels": [ "parity" ], "versions": [], "issuelinks": [], "assignee": { "name": "emerriman", "key": "emerriman", "displayName": "Eric Merriman ", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2020-01-09T19:48:04.000+0000", "status": { "description": "The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.", "name": "Closed", "id": "6", "statusCategory": { "id": 3, "key": "done", "colorName": "green", "name": "Done" } }, "components": [], "description": "Added a showScrollbars property to Ti.UI.WebView for mobile web.\r\n\r\nData Type: boolean\r\nDefault Value: true\r\n\r\nControls the display both horizontal and vertical scrollbars. There is no mechanism for controlling a specific axis.\r\n\r\nWhen true, show scrollbars in the WebView if the content is larger than the WebView.\r\n\r\nWhen false, do not show the scrollbars, even if the content is larger than the WebView.", "attachment": [], "flagged": false, "summary": "TiAPI: Ti.UI.Webview showScrollbars property", "creator": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "subtasks": [], "reporter": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "environment": null, "comment": { "comments": [ { "id": "189769", "author": { "name": "hz", "key": "hz", "displayName": "HubertChang", "active": true, "timeZone": "America/Los_Angeles" }, "body": "According to http://stackoverflow.com/questions/849225/iphone-is-it-possible-to-hide-native-scrollbar-in-uiwebview , we can hide/show scrollbar in iOS uiwebview like this:\r\n[(UIScrollView*)[webview.subviews objectAtIndex:0] setShowsHorizontalScrollIndicator:NO];\r\n[(UIScrollView*)[webview.subviews objectAtIndex:0] setShowsVerticalScrollIndicator:NO];\r\n\r\nthis code works in iOS 4.0 - 5.0, but not in iOS 3.1.3. In iOS 4.0-5.0 [webview.subviews objectAtIndex:0] returns instance of _UIWebViewScrollView, which can be casted to UIScrollView, but in iOS 3.1.3 it returns instance of UIScroller, which failed to cast to UIScrollView.\r\n\r\nAccording to http://stackoverflow.com/questions/3998916/android-webview-leaves-space-for-scrollbar , we can hide /show scrollbar in Android webview like this: \r\nwebView.setScrollBarStyle(View.SCROLLBARS_INSIDE_OVERLAY);\r\n\r\n\r\n\r\n\r\n", "updateAuthor": { "name": "hz", "key": "hz", "displayName": "HubertChang", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-04-04T00:19:49.000+0000", "updated": "2012-04-04T00:19:49.000+0000" }, { "id": "238329", "author": { "name": "michael", "key": "michael", "displayName": "Michael Gangolf", "active": true, "timeZone": "Europe/Berlin" }, "body": "is it planned to add this to android/ios?\r\nwould be nice to disable the scrollviews. I've disabled scrolling and touch but it still displays the scrollbars for a second when the webview is created. Hiding them would help", "updateAuthor": { "name": "michael", "key": "michael", "displayName": "Michael Gangolf", "active": true, "timeZone": "Europe/Berlin" }, "created": "2013-02-13T13:46:26.000+0000", "updated": "2013-02-13T13:46:26.000+0000" }, { "id": "453588", "author": { "name": "ahutton", "key": "ahutton", "displayName": "Alan Hutton", "active": true, "timeZone": "America/Los_Angeles" }, "body": "It has been decided that this issue should be closed as “Won’t do.” This issue is out of date with our current supported SDK release (7.5.2.GA as of the date of closure), and out of date with mobile OS versions. \r\n\r\nIf community members feel that the issue is still valid, please create a new ticket. Please reference this closed ticket number, include SDK used, comments, and code that demonstrates/reproduces the issue.", "updateAuthor": { "name": "ahutton", "key": "ahutton", "displayName": "Alan Hutton", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2020-01-09T19:48:04.000+0000", "updated": "2020-01-09T19:48:04.000+0000" } ], "maxResults": 3, "total": 3, "startAt": 0 } } }