I tried with Chrome and Firefox, got same result: I can not edit the webform fields as the editing area rolls to hide whenever I try to see it. Weird bug, I first thought that it is because of Chrome or some plugin, but it happens just the same way on Firefox (I'm using Windows).

Comments

Seph’s picture

I have the same thing happening and I am on a Mac running MAMP. It doesn't matter which browser I use.

ancym’s picture

Priority: Normal » Major

Same here, Windows Chrome and Firefox. Also Opera.
Seems a bit more important than normal to me, since form cannot be edited if the fields cannot be displayed.

hmm - by reducing the text font size, i can at least get to most of the fields - but still jumps around so not really usable, oh well.

roam2345’s picture

Gotten this my self and tracked it down to the JS function Drupal.behaviors.formBuilderBlockScroll.attach in form_builder.

The calculation is off on this.

      if (windowOffset - blockScrollStart > 0) {
        // Do not scroll beyond the bottom of the editing area.
        var newTop = Math.min(windowOffset - blockScrollStart + 20, formBuilderHeight - blockHeight);
        $block.animate({ top: (newTop + 'px') }, 'fast');
      }
      else {
        $block.animate({ top: '0px' }, 'fast');
      }

Change it to this and you can get around it for now.

      if (windowOffset - blockScrollStart > 0) {
        // Do not scroll beyond the bottom of the editing area.
        var newTop = Math.min(windowOffset - blockScrollStart + 20, formBuilderHeight - blockHeight);
        //$block.animate({ top: (newTop + 'px') }, 'fast');
      }
      else {
        //$block.animate({ top: '0px' }, 'fast');
      }
roam2345’s picture

StatusFileSize
new620 bytes

Here is a fix that simply removes that for now... until that calculation can be fixed. (against head dev)

grahamc’s picture

Issue summary: View changes
StatusFileSize
new523 bytes

The way this is supposed to work is with a patch to Form Builder. I found the attached hunk in the annals.

(Of course, it would be nice if it worked without depending on patches...)