Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

boxPadding not working properly in RTL languages #10771

Open
hachahbar opened this issue Oct 9, 2022 · 2 comments
Open

boxPadding not working properly in RTL languages #10771

hachahbar opened this issue Oct 9, 2022 · 2 comments

Comments

@hachahbar
Copy link

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

@hachahbar
Copy link
Author

Sorry, closed by mistake

@hachahbar hachahbar reopened this Oct 9, 2022
@arij33tt
Copy link

arij33tt commented Oct 9, 2022

Hello sir! can you assign this issue to me??

shahabhm added a commit to shahabhm/Chart.js that referenced this issue Jan 15, 2023
etimberg pushed a commit that referenced this issue Feb 10, 2023
* fix RTL tooltip colorBox placement #10771

* fix lint problem
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants