Thanks Shawn! I had a similar issue on all Apple devices from the moment that I used a table to control the content. I added plain text after the table and I could scroll in Apple devices again. Android doesn't seem to have any problem with a table in the popup.
Thanks Shawn, this helped me out
We had a similar problem and had to use the 3 finger slide to scroll up and down in a popup on the ipad.Thanks,Luci
Can you test with this application in your iPad?Click on a state to display the info window. I was able to scroll/pan with this.
Hi Shawn,I tested this in Safari on an iPad (5.1.1) and while I did not see the scroll bar, I was still able to pan down into the contents of the info window, and see all the contents there. Can you confirm if you are able to pan or scroll even without the scroll bar?-Noah
handleIdentifyResults: function(results) { var countOfResults = 0; var content = ""; var _this = this; results = array.filter(results, function (result) {//filter out any failed tasks return result.length > 0; }); array.forEach(results, function (result) { for (var i = 0; i < result.length; i++) { content += "<b>" + shared.htmlEncode(result.layerName) + "</b><br>"; content += "<table>"; for (var member in result.feature.attributes) { content += "<tr><td>" + shared.htmlEncode(member) + ":</td><td>" + shared.htmlEncode(result.feature.attributes[member]) + "</td></tr>"; } content += "</table><br>"; countOfResults++; } }); var resultText; if (countOfResults === 1) { resultText = " Feature Identified"; } else { resultText = " Features Identified"; } mapControl.popup.setTitle(countOfResults + resultText); mapControl.popup.setContent(content); mapControl.popup.resize(320, 250); mapControl.popup.show(this.clickEvt.screenPoint, map.getInfoWindowAnchor(this.clickEvt.screenPoint)); }
Angemeldete Mitglieder können Beiträge verfassen, Updates folgen und mehr. Neu hier? Registriere ein kostenloses Konto.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.