Skip to content
Discussion options

You must be logged in to vote

That exact animation (drawer starts mid-screen and slides to the left edge) is what you get with dir="rtl" on <html> but no DirectionProvider. The two halves of the Drawer read direction from different places:

  • Placement is CSS: position="right" sets justify-content: flex-end, and in an RTL document flex-end is the left edge.
  • The slide comes from JS: Drawer picks its transition from useDirection(). Without DirectionProvider that returns ltr, so it uses slide-left (enter from the right) on a drawer that is sitting on the left.

Wrap the app in DirectionProvider (Next.js App Router):

// app/layout.tsx
import { DirectionProvider, MantineProvider } from '@mantine/core'

export default function …

Replies: 2 comments 3 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
3 replies
@jsabutis
Comment options

@alsasoft-web
Comment options

@jsabutis
Comment options

Answer selected by alsasoft-web
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants
Converted from issue

This discussion was converted from issue #9118 on August 15, 2026 06:03.