Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我有一个带有输入字段的网站。
当输入字段获得焦点时,iPad 键盘会出现并且页面会自动向上滚动。关闭键盘时,不会滚动回原始位置。
是否可以使用 javascript 和/或 css 以编程方式禁用此行为(滚动)?