Skip to content

Release 9.9.0-beta.3

Pre-release
Pre-release
Compare
Choose a tag to compare
@thet thet released this 17 May 23:43
· 336 commits to master since this release

9.9.0-beta.3 (2023-05-17)

Features

  • core dom: Add get_position, scroll_to_element, scroll_to_top and scroll_to_bottom functions. (0368c48)

    To help with scrolling tasks and to unify them these methods were
    introduced:

  • get_relative_position: Get the position of an element relative to
    another.
  • scroll_to_element: Scroll the given scroll_container to a given element.
  • scroll_to_top: Scroll the container to the top.
  • scroll_to_bottom: Scroll the container to the bottom.

Maintenance

  • pat inject: Use the new scrolling helpers from core.dom. (89d3ef3)

  • pat scroll: Use the new scrolling helpers from core.dom. (f37bc99)

    This fixes also the scrolling position from the previous release which
    would have been wrong for many cases where the scrolling target is
    within a positioned element.