Skip to content

Sticky header bar isn't sticky any more #2028

@tavianator

Description

@tavianator

Problem

I updated from mdBook 0.4.21 to 0.4.27 and it seems to have broken the sticky header bar.

Steps

  1. Go to https://tavianator.com/2022/ray_box_boundary.html
  2. Scroll down a page or two
  3. Scroll back up a few inches

When I do this, the header bar remains off screen. I can only see it when I scroll all the way back up to the top of the page.

Possible Solution(s)

No response

Notes

I tried both Firefox and Chrome on Arch LInux.

Version

mdbook v0.4.27

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-HTMLArea: HTML RenderingC-bugCategory: A bug, incorrect or unintended behaviorRegressionRegression from a previous version

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions