formBuilder icon indicating copy to clipboard operation
formBuilder copied to clipboard

Content Size Modifying Events

Open DubStepMad opened this issue 6 years ago • 0 comments

Description:

I'm currently using NiceScroll which needs an event to be triggered to update the body height to allow the content to be displayed correctly without being behind the footer.

The event that needs firing is $("body").getNiceScroll().resize()

  • formBuilder Version: 2.9.8
  • Browser: Chrome
  • OS: Windows 10

I currently have this working for the following events: fieldAdded fieldRemoved

Example: document.addEventListener('fieldAdded', function(e) { $("body").getNiceScroll().resize(); });

Any help would be deeply appreciated.

DubStepMad avatar Aug 06 '19 10:08 DubStepMad