Help us understand the problem. What is going on with this article?

iScroll v4 利用時に、テキストボックスが選択不可能になってしまう

More than 5 years have passed since last update.

myScroll = new iScroll('wrapper'), {
  onBeforeScrollStart: function (e) {
    var target =;
    while (target.nodeType != 1) target = target.parentNode;
    if (target.tagName != 'SELECT' && target.tagName != 'INPUT' && target.tagName != 'TEXTAREA')
何でも屋だが、最近はRails中心。JavaScript好き。レビューやタスク分解が多くて近頃仕事ではコード書けていない。仕事でもプライベートでもコラボできる人が常に欲しい人。 会社では人を育てるの中心で こんなのやってます。 独り言はこっち
Why not register and get more from Qiita?
  1. We will deliver articles that match you
    By following users and tags, you can catch up information on technical fields that you are interested in as a whole
  2. you can read useful information later efficiently
    By "stocking" the articles you like, you can search right away