Ticket #7128 (open bug)

Opened 2 years ago

Last modified 7 months ago

Datepicker: image DOM position should not change in RTL mode

Reported by: scott.gonzalez Owned by:
Priority: minor Milestone: 1.11.0
Component: ui.datepicker Version: 1.8.10
Keywords: Cc:
Blocking: Blocked by:

Description

Change History

comment:1 Changed 10 months ago by mrozik

I created example with DIR="RTL" attribute on HTML tag and isRTL: false config in Datepicker:

 http://jsfiddle.net/v5VHE/2/

It shows that even if isRTL config on Datepicker is set to false, the dates (and all page) are displayed correctly for RTL direction. Maybe we should consider that problem lies in after() and before() methods, because they don't check DIR attribute.

comment:2 Changed 10 months ago by scott.gonzalez

@mrozik The point of the forum post was to point out that the isRTL setting should not affect the location of the button. The location of the button will be controlled by the content's dir attribute. It doesn't matter what locale the calendar is in, the layout of the widget within the flow of the page should follow the direction of the surrounding content.

comment:3 Changed 7 months ago by scott.gonzalez

  • Milestone changed from 1.9.0 to 1.11.0

comment:4 Changed 7 months ago by mikesherov

  • Status changed from new to open
Note: See TracTickets for help on using tickets.