Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
算了,聪明反被聪明误,当用户做对题时,不要自动跳转到下一道题,而是像做错题一样,按回车或单击字块进入下一道题
这是因为在移动设备上,用户必须有触摸屏幕的动作才能触发输入框,否则光靠 .focus() 方法是无法自动打开虚拟键盘的,所以这里的自动跳转到下一道题在移动端并不好用(虚拟键盘打不开) https://stackoverflow.com/a/6021037/559676 https://stackoverflow.com/a/10243010/559676
- Loading branch information
Showing
1 changed file
with
3 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters