1. 03 May, 2015 1 commit
  2. 28 Apr, 2015 1 commit
  3. 27 Apr, 2015 2 commits
  4. 25 Apr, 2015 1 commit
  5. 22 Apr, 2015 1 commit
  6. 21 Apr, 2015 1 commit
  7. 11 Apr, 2015 2 commits
  8. 09 Apr, 2015 1 commit
  9. 08 Apr, 2015 1 commit
  10. 29 Mar, 2015 2 commits
  11. 26 Mar, 2015 2 commits
  12. 25 Mar, 2015 1 commit
    • Adrien Jarthon's avatar
      Tooltip/popover: Fix auto placement to use viewport · 0e8e5222
      Adrien Jarthon authored
      Currently, auto placement is using the container dimensions (if provided) or the element's parent to determine where to open the tooltip:
      ```javascript
      var $container   = this.options.container ? $(this.options.container) : this.$element.parent()
      var containerDim = this.getPosition($container)
      ```
      This is quite broken in fact, because the parent element could be just a small div outside the element for example, leading in a totally random placement (placing the tooltip on top even if there's no room). And the container can also be outside of the viewport.
      
      This fix simply uses the viewport instead, that's the purpose of the viewport actually, to position the tooltip.
      So the auto placement should use it to find where there's more room.
      By default this is body, which is good.
      0e8e5222
  13. 21 Mar, 2015 1 commit
  14. 16 Mar, 2015 1 commit
  15. 10 Mar, 2015 1 commit
  16. 09 Mar, 2015 3 commits
  17. 07 Mar, 2015 4 commits
  18. 06 Mar, 2015 1 commit
  19. 04 Mar, 2015 1 commit
  20. 03 Mar, 2015 4 commits
  21. 02 Mar, 2015 2 commits
  22. 01 Mar, 2015 3 commits
  23. 27 Feb, 2015 1 commit
  24. 26 Feb, 2015 2 commits