Skip to content

Conversation

@ethancrawford
Copy link
Collaborator

@ethancrawford ethancrawford commented Dec 9, 2025

Previously, The Offcanvas documentation examples were preventing the rest of the page from scrolling. This was easy enough to fix with a data attribute as per the Bootstrap documentation. However, it was also necessary to change the examples so that instead of forcing the Offcanvas elements into their 'visible' state with a hardcoded css class, they are triggered on page load with an inline javascript function.

Fixes #2294.

Previously, The Offcanvas documentation examples were preventing the rest of the
page from scrolling. This was easy enough to fix with a data attribute as per
the Bootstrap documentation. However, it was also necessary to change the
examples so that instead of forcing the Offcanvas elements into their 'visible'
state with a hardcoded css class, they are triggered on page load with an inline
javascript function.
@changeset-bot
Copy link

changeset-bot bot commented Dec 9, 2025

⚠️ No Changeset found

Latest commit: a5c5b23

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

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

@vercel
Copy link

vercel bot commented Dec 9, 2025

@ethancrawford is attempting to deploy a commit to the Tabler Team on Vercel.

A member of the Team first needs to authorize it.

@codecalm codecalm merged commit 94e1a95 into tabler:dev Dec 11, 2025
3 of 5 checks passed
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.

[BUG] Offcanvas documentation page does not scroll correctly

2 participants