mediawiki-skins-Vector/includes
Nicholas Ray 1209b388e9 Add scroll padding to the root element when the sticky header is enabled
When the sticky header is visible, it has a global impact on the
scrolling UX. For example, it can undesirably overlap elements when the
user clicks on a jump link and when the user tabs through elements in
reverse order. Therefore, we need to add scroll padding to the root
element when the sticky header is enabled (when the feature flag is on
and at higher resolutions)

Known limitations:

* Scroll padding is supported by all the latest modern browsers except
for Safari [1]. This was considered an acceptable tradeoff with the
caveat that this decision may be revisited in the future as we learn
more about user interaction with the sticky header.

[1] https://caniuse.com/mdn-css_properties_scroll-padding-top

Bug: T290518
Change-Id: Ie5eb01d7eafd18ce740be620dfb5c8849386af6e
2021-09-29 14:25:26 -06:00
..
FeatureManagement build: Updating dependencies 2021-07-24 01:35:45 +00:00
HTMLForm/Fields build: Updating mediawiki/mediawiki-codesniffer to 33.0.0 2020-11-17 23:33:50 +01:00
Services search: Disable query highlight for some languages 2021-06-30 16:47:46 +01:00
templates Wire up sticky header search feature 2021-09-27 14:47:58 -07:00
Constants.php build: Updating composer dependencies 2021-09-10 22:54:21 +00:00
Hooks.php [storybook] Document button usage and update broken stories 2021-09-07 21:23:33 +00:00
ServiceWiring.php Remove user links feature flag 2021-08-26 10:07:15 -06:00
SkinVector.php Add scroll padding to the root element when the sticky header is enabled 2021-09-29 14:25:26 -06:00
SkinVersionLookup.php Use User->isRegistered(), not deprecated isLoggedIn() 2020-12-19 16:44:06 +00:00
VectorServices.php search: Disable query highlight for some languages 2021-06-30 16:47:46 +01:00