Skip to content

Conversation

@nolannbiron
Copy link
Member

@nolannbiron nolannbiron commented Oct 19, 2025

Before :
CleanShot 2025-10-19 at 20 34 47@2x

After:
CleanShot 2025-10-19 at 20 34 05@2x

@changeset-bot
Copy link

changeset-bot bot commented Oct 19, 2025

🦋 Changeset detected

Latest commit: 5c42fc3

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
gitbook Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR fixes the display property used in the ToggleableLinkItem component's show state animation. The change updates the CSS display value from inherit to contents to properly handle the visibility transition of toggleable table of contents items.

Key changes:

  • Updated the show animation state's display property from inherit to contents in the Toggler component

Reviewed Changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.

File Description
packages/gitbook/src/components/TableOfContents/ToggleableLinkItem.tsx Changed display property from 'inherit' to 'contents' in the show animation state
.changeset/quiet-icons-deny.md Added changeset documenting the fix as a patch release

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

@argos-ci
Copy link

argos-ci bot commented Oct 19, 2025

The latest updates on your projects. Learn more about Argos notifications ↗︎

Build Status Details Updated (UTC)
customers-v2 (Inspect) 👍 Changes approved 1 changed Oct 20, 2025, 3:23 PM
v2-cloudflare (Inspect) 👍 Changes approved 1 changed Oct 20, 2025, 3:26 PM
v2-vercel (Inspect) 👍 Changes approved 5 changed Oct 20, 2025, 3:25 PM

@nolannbiron nolannbiron merged commit 3355960 into main Oct 21, 2025
22 of 24 checks passed
@nolannbiron nolannbiron deleted the nolann/fix-toggeable-link-display branch October 21, 2025 08:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants