Skip to content

15.0.1 (@scion/components)

Compare
Choose a tag to compare
@Marcarrian Marcarrian released this 08 Sep 10:55
· 97 commits to master since this release

15.0.1 (2023-03-28)

Bug Fixes

  • components/viewport: consider elements as scrolled into view when there is no viewport overflow (22baab7)
  • components/viewport: do not throw error when calling computeOffset for an element not contained in the viewport (7177bc7)
  • components/viewport: do not throw error when calling isElementInView for an element not contained in the viewport (7eeac19)
  • components/viewport: do not throw error when calling scrollIntoView for elements not contained in the viewport (f27a94f)

BREAKING CHANGES

  • components/viewport: more tolerant handling of elements not contained in the viewport introduced a breaking change.

    The following methods of SciViewportComponent are now more tolerant when invoked for elements that are not contained in the viewport or have display style set to none.

    • SciViewportComponent#computeOffset returns null instead of throwing an error.
    • SciViewportComponent#isElementInView returns false instead of throwing an error.
    • SciViewportComponent#scrollIntoView does nothing instead of throwing an error.