-
Notifications
You must be signed in to change notification settings - Fork 4k
Closed
Labels
bugIssue reports a bugIssue reports a bugresolvedIssue is resolved, yet unreleased if openIssue is resolved, yet unreleased if open
Description
Contribution guidelines
- I've read the contribution guidelines and wholeheartedly agree
I've found a bug and checked that ...
- ... the problem doesn't occur with the
mkdocsorreadthedocsthemes - ... the problem persists when all overrides are removed, i.e.
custom_dir,extra_javascriptandextra_css - ... the documentation does not mention anything about my problem
- ... there are no open or closed issues that are related to my problem
Description
When scrolling upwards the javascript removes the top: 131px element style of the button.
This breaks the positioning when activating navigation.tabs.sticky as the button is partially hidden behind the navigation tabs.
Expected behaviour
The element style for top: on the back-to-top button should not be removed when scrolling upwards.
Actual behaviour
Potential cause:
| el.style.top = "" |
Steps to reproduce
Build documentation with the following features:
features:
- navigation.tabs.sticky
- navigation.topPackage versions
- Python: 3.9.2
- MkDocs: 1.2.3
- Material: 8.0.2+insiders.4.1.0
Configuration
site_name: My Docs
theme:
name: material
features:
- navigation.tabs.sticky
- navigation.topSystem information
- Browser: Chrome, Firefox, Safari
Metadata
Metadata
Assignees
Labels
bugIssue reports a bugIssue reports a bugresolvedIssue is resolved, yet unreleased if openIssue is resolved, yet unreleased if open
