Skip to content
This repository was archived by the owner on Sep 5, 2024. It is now read-only.

Commit d3d0c5d

Browse files
arubinoffkara
authored andcommitted
fix(panel): correctly reverse x-position in RTL (#10710)
Fixes #10536
1 parent c886286 commit d3d0c5d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/panel/panel.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3071,7 +3071,7 @@ MdPanelPosition.prototype._constrainToViewport = function(panelEl) {
30713071
*/
30723072
MdPanelPosition.prototype._reverseXPosition = function(position) {
30733073
if (position === MdPanelPosition.xPosition.CENTER) {
3074-
return;
3074+
return position;
30753075
}
30763076

30773077
var start = 'start';

0 commit comments

Comments
 (0)