Skip to content

Commit c4c58b5

Browse files
committed
Fixed a bug where resizing a grid item in RTL mode wasn't working (jbaysolutions#366)
1 parent 68ea133 commit c4c58b5

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/components/GridItem.vue

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -785,11 +785,11 @@
785785
786786
const opts = {
787787
preserveAspectRatio: true,
788-
// allowFrom: "." + this.resizableHandleClass,
788+
// allowFrom: "." + this.resizableHandleClass.trim().replace(" ", "."),
789789
edges: {
790790
left: false,
791-
right: "." + this.resizableHandleClass,
792-
bottom: "." + this.resizableHandleClass,
791+
right: "." + this.resizableHandleClass.trim().replace(" ", "."),
792+
bottom: "." + this.resizableHandleClass.trim().replace(" ", "."),
793793
top: false
794794
},
795795
ignoreFrom: this.resizeIgnoreFrom,

0 commit comments

Comments
 (0)