mootools / website

MooTools Website - move fast and break things
https://mootools.net
45 stars 31 forks source link

Form.Validator.Inline: par.getScroll is not a function #228

Closed masted closed 8 years ago

masted commented 8 years ago

Bug report:

  1. Go to http://mootools.net/more/builder
  2. Build Form.Validator.Inline with "Add Core (only dependencies)" option
  3. Instantiate: new Form.Validator.Inline()
  4. Get error "par.getScrollSize() is not a function"
SergioCrisostomo commented 8 years ago

@masted checked you steps and got no error: https://jsfiddle.net/s8cc6b9j/ Can you provide more information about it? Browser version, other code you are using, etc. Maybe you can post back a jsFiddle reproducing the problem?

Thanks!

masted commented 8 years ago

Normal: https://jsfiddle.net/empupb87/

Error here: https://jsfiddle.net/waz01k87/

SergioCrisostomo commented 8 years ago

@masted thanks for update. I made a fix suggestion for More, since the problem seems to lie there. You can fix it by adding Core/Element.Dimensions file/module: https://jsfiddle.net/waz01k87/1/

masted commented 8 years ago

Cool!