Skip to content

Commit

Permalink
fix(Balloon): ltr when set rtl on it own
Browse files Browse the repository at this point in the history
  • Loading branch information
youluna committed Dec 7, 2018
1 parent ae3807d commit 8cc4a8a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/balloon/balloon.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -319,6 +319,7 @@ export default class Balloon extends React.Component {
container={popupContainer || container}
className={popupClassName}
style={popupStyle}
rtl={rtl}
>
{content}
</Popup>
Expand Down
2 changes: 2 additions & 0 deletions src/balloon/tooltip.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,7 @@ export default class Tooltip extends React.Component {
className={className}
style={_style}
align={align}
rtl={rtl}
>
{children}
</BalloonInner>);
Expand All @@ -121,6 +122,7 @@ export default class Tooltip extends React.Component {
delay={0}
className={popupClassName}
style={popupStyle}
rtl={rtl}
shouldUpdatePosition
>
{content}
Expand Down

0 comments on commit 8cc4a8a

Please sign in to comment.