[RTL]: DMN viewer open decision table button missing and elements skewed #927
Labels
a11y
backlog
Queued in backlog
bug
Something isn't working
pr welcome
We rely on a community contribution to improve this.
ux
Describe the Bug
For right-to-left languages such as Arabic, the document dir attribute is set to
dir="rtl"
in Angular apps. In most cases elements in the HTML document need to have their CSS adjusted to accommodate this change in direction. For example adjusting padding or mirroring directional icons from right to left.When using dmn-js Viewer within a web application with document
dir="rtl"
. The blue open decision table button disappears and the labels within thedjs-group
blocks display outside the bounds of the block.dir="ltr"
(Default)dir="rtl"
Steps to Reproduce
Steps to reproduce the behavior:
Open the demo bpmn.io page & change the document dir attribute to - dir="rtl" using inspect element in dev tools in Chrome.
View a dmn-js chart and notice there is no blue open decision table button on the DMN block. So the user can not view the DMN table. Also notice that the DMN label is outside the bounds of the DMN block.
Expected Behavior
The blue open decision table button is visible on DMN blocks and label is displayed within the block. The user can view the DMN table.
Environment
16.7.0
The text was updated successfully, but these errors were encountered: