Release 9.9.6-alpha.1
Pre-release9.9.6-alpha.1 (2023-08-30)
Breaking Changes
-
pat-scroll: Remove implicit and unpreventable scroll support for pat-stacks. (92e1e6b)
With a pat-scroll as parent of a pat-stacks enabled navigation anchors,
the page would scroll to the target configured for pat-scroll. This
behavior could not be prevented and led to unwanted effects when using
pat-stacks inside pat-collapsible which itself uses pat-scroll when
configured properly.
This commit removes the scrolling support for pat-stacks within
pat-scroll in favor of an explicit and configurable scrolling behavior
in pat-stacks itself.
Features
-
core dom: Add dom.element_uuid to get/set an uuid to a DOM node. (a7e5de1)
-
pat stacks: Add a destroy method to unregister event handlers. (8479cfa)
-
pat-stacks: Add configurable scroll support. (a8aae63)
Add "scroll-selector" and "scroll-offset" arguments to pat-stacks,
likewise as in pat-collapsible. "scroll-selector" accepts a CSS selector
string or the special values "self" to scroll to the element itself and
"none" to block any scrolling behavior from parent pat-stacks configuration
options.
With these configuration options you can control the scrolling behavior
for pat-stacks on a fine-grained level.