Skip to content

boxPadding not working properly in RTL languages #10771

@hachahbar

Description

@hachahbar

Expected behavior

Padding between the color box and the text.

Current behavior

Color box is pushed out of the tooltip.

Reproducible sample

See Optional extra steps

Optional extra steps/info to reproduce

An example with boxPadding: 15

plugins: {
        tooltip: {
          rtl: true,
          boxPadding: 15,
        }
      },

2022-10-09_130208

Possible solution

No response

Context

No response

chart.js version

v3.9.1

Browser name and version

No response

Link to your project

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions