Initial implementation of 'sticky_behavior' configuration, based on MR 118.
https://www.drupal.org/project/admin_toolbar/issues/3509584
Initial implementation of sticky_behavior
configuration, based on the work from MR !118 (closed) by @darkdim and @ressa.
- Merged in previous configuration (boolean)
disable_sticky
into (string)sticky_behavior
, with 3 options:
enabled
(default),disabled
,hide_on_scroll_down
. - Moved all JS/CSS logic to a new library with specific files with Vanilla JS behaviors, to prevent from modifying any of the existing JS or CSS code or introducing new ESLint errors, see MR !116.
- Updated the Admin Toolbar Settings form field labels, descriptions, etc...