Skip to content

Conversation

@nmerget
Copy link
Collaborator

@nmerget nmerget commented Jan 14, 2026

Proposed changes

fix(drawer): address rendering issue with drawer and sub-navigation for prefers-reduced-motion users

Types of changes

  • Bugfix (non-breaking change that fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Refactoring (improvements to existing components or architectural decisions)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • Documentation Update (if none of the other choices apply)

Further comments

🔭🐙🐈 Test this branch here: https://design-system.deutschebahn.com/core-web/review/fix-drawer-sub-navigation-reduced-motion

@changeset-bot
Copy link

changeset-bot bot commented Jan 14, 2026

🦋 Changeset detected

Latest commit: cb378e8

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

This PR includes changesets to release 9 packages
Name Type
@db-ux/core-components Patch
@db-ux/ngx-core-components Patch
@db-ux/react-core-components Patch
@db-ux/wc-core-components Patch
@db-ux/v-core-components Patch
@db-ux/core-foundations Patch
@db-ux/core-stylelint Patch
@db-ux/core-migration Patch
@db-ux/agent-cli 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

@github-actions github-actions bot added 📕documentation Improvements or additions to documentation 🏘components labels Jan 14, 2026
@nmerget nmerget moved this from 🏗 In progress to 🎁 Ready for review in UX Engineering Team Backlog Jan 14, 2026
@nmerget nmerget requested a review from milan-w January 14, 2026 09:39
@nmerget nmerget enabled auto-merge (squash) January 14, 2026 09:39
@nmerget nmerget removed the request for review from milan-w January 14, 2026 10:19
@mfranzke mfranzke changed the title fix(drawer): address rendering issue with drawer and sub-navigation f… fix(drawer): address rendering issue with drawer and sub-navigation Jan 15, 2026
@mfranzke mfranzke requested a review from Copilot January 16, 2026 18:55
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 pull request fixes a rendering issue where the drawer component and sub-navigation were not properly positioned for users with prefers-reduced-motion: reduce accessibility preference. When animations are disabled for accessibility, the drawer was appearing off-screen instead of in its final visible position.

Changes:

  • Added explicit transform rules for prefers-reduced-motion: reduce media query to ensure drawer is properly positioned
  • Updated changeset to document the accessibility fix across all framework packages

Reviewed changes

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

File Description
packages/components/src/components/drawer/drawer.scss Added prefers-reduced-motion: reduce media query block that sets appropriate transforms to position drawer correctly when animations are disabled
.changeset/loose-nails-shine.md Added changeset documenting the bug fix for all affected framework packages

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

🏘components 📕documentation Improvements or additions to documentation

Projects

Status: 🎁 Ready for review

Development

Successfully merging this pull request may close these issues.

3 participants