简体   繁体   English

iOS模拟器HTML网页:使用鼠标滚动文本框

[英]iOS Simulator HTML Web Page: Scrolling a text box with mouse

Using the iOS Simulator and viewing a html page with a text box that has scrolling content, how do you use the mouse to scroll that text region? 使用iOS模拟器并使用带有滚动内容的文本框查看html页面,如何使用鼠标滚动该文本区域?

On a real iOS device you simply press and hold and drag on the text box, but on the simulator doing that with a mouse scrolls the entire screen. 在真正的iOS设备上,您只需按住并拖动文本框即可,但是在模拟器上,使用鼠标滚动整个屏幕即可。

Because it is a simulator and not an emulator. 因为它是模拟器而不是模拟器。 You can use the simulator to 'test' how it looks like but you cannot test all of the features. 您可以使用模拟器来“测试”它的外观,但不能测试所有功能。 The simulator is just an iframe sized to the resolution of an iPhone or whatever. 模拟器只是大小与iPhone或其他设备分辨率相同的iframe。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM