[ckan-changes] [okfn/ckan] 3a3fc1: Added deltaHeight back in... as it was the simples...

GitHub noreply at github.com
Wed Oct 3 14:48:14 UTC 2012


  Branch: refs/heads/2954-data-viewer-flickering
  Home:   https://github.com/okfn/ckan
  Commit: 3a3fc1f1344ef60f68444a84f4cb396c559d0768
      https://github.com/okfn/ckan/commit/3a3fc1f1344ef60f68444a84f4cb396c559d0768
  Author: John Martin <me at johnmart.in>
  Date:   2012-10-03 (Wed, 03 Oct 2012)

  Changed paths:
    M ckan/public/base/javascript/modules/data-viewer.js

  Log Message:
  -----------
  Added deltaHeight back in... as it was the simplest solution to the problem

- Tried https://github.com/house9/jquery-iframe-auto-height but it only works onload and there is no api to allow for refiring a resize event
- Tried using `document.scrollHeight` but it was too flaky in returning correct values and could cause the iframe to resize by 1px every timer tick





More information about the ckan-changes mailing list