Skip to content

RTL Support #432

@HamoBoker

Description

@HamoBoker

Current behaviour

Hi

First of all thanks a lot for your great work i really appreciate it.

i have issue when switching the app to RTL and opening DatePickerModal the dates doesn't appear and stays empty, on LTR everything works properly.

Thank you in advance

Expected behaviour

Dates appear

How to reproduce?

// index.js
import {I18nManager} from 'react-native'
import {ar, registerTranslation} from 'react-native-paper-dates'

registerTranslation('ar', ar)
I18nManager.allowRTL(true)
I18nManager.forceRTL(true)

open date picker modal

Preview

drawing

Your Environment

software version
ios 18.1
android 13
react-native 0.75.4
react-native-paper 5.12.5
node 20

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingneeds reproNeeds reproducible examplestale

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions