From d316d91884304b932b1b073e24f85d488d03a6e5 Mon Sep 17 00:00:00 2001
From: Amir Bashan <90416342+amirbashan@users.noreply.github.com>
Date: Mon, 7 Aug 2023 23:18:34 +0300
Subject: [PATCH] fix(rtl DnD): Dragging an event in the RTL month view
 calendar gets confused to the wrong side (#2426)

#2310 #1801
---
 src/DateContentRow.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/DateContentRow.js b/src/DateContentRow.js
index de45c25b71..3ec4c11f5e 100644
--- a/src/DateContentRow.js
+++ b/src/DateContentRow.js
@@ -181,7 +181,7 @@ class DateContentRow extends React.Component {
             </div>
           )}
           <ScrollableWeekComponent>
-            <WeekWrapper isAllDay={isAllDay} {...eventRowProps}>
+            <WeekWrapper isAllDay={isAllDay} {...eventRowProps} rtl={this.props.rtl}>
               {levels.map((segs, idx) => (
                 <EventRow key={idx} segments={segs} {...eventRowProps} />
               ))}