Skip to content

gridstack rtl mode #819

@BrkCoder

Description

@BrkCoder

Subject of the issue

When moving to rtl mode, the layout doesn't organize in rtl direction rather in ltr direction although I have set the flag of rtl options to true.

Your environment

version of gridstack is ????

Steps to reproduce

in-order to reproduce the problem all we need is the configure the following options for gridstack:

options = {
  cellHeight: 100,
  verticalMargin: 10,
  draggable: {
    handle: '.header-drag',
  },
  rtl: true
}

Expected behaviour

Expected behavior widgets start adding from right to left.

Actual behaviour

Actual behavior widgets start adding from left to right.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions