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

Chart - Safari browser - Visual bug on x-axis #1109

Open
3 tasks done
0hra opened this issue Feb 19, 2025 · 2 comments
Open
3 tasks done

Chart - Safari browser - Visual bug on x-axis #1109

0hra opened this issue Feb 19, 2025 · 2 comments

Comments

@0hra
Copy link

0hra commented Feb 19, 2025

Flux version

v2.0.0

Livewire version

v3.5.19

Tailwind version

v4.0

What is the problem?

The x-axis does not look right on mobile (iOS + Safari)

Mobile:
Image

Desktop:
Image

Code snippets

Just check out the documentation
https://fluxui.dev/components/chart

How do you expect it to work?

Be visually consistent across platforms

Please confirm (incomplete submissions will not be addressed)

  • I have provided easy and step-by-step instructions to reproduce the bug.
  • I have provided code samples as text and NOT images.
  • I understand my bug report will be closed if I haven't met the criteria above.
@SRWieZ
Copy link
Contributor

SRWieZ commented Feb 19, 2025

Same problem on Safari Desktop

Image

@0hra 0hra changed the title Chart - Mobile - Visual bug on x-axis Chart - Safari browser - Visual bug on x-axis Feb 19, 2025
@dr-codswallop
Copy link

Confirm also encountering this issue on Safari v18.3 desktop & Safari iOS v18.2

The transform="translate(x,y)" values in Safari don't seem consistent with values in other browsers. Example below direct from the first chart on the docs page https://fluxui.dev/components/chart#chart

Safari

<g data-tick-label-group="" data-axis="x">
   <g data-tick-label="" data-axis="x" transform="translate(42.5625, 198.0625)" style="display: inline;">

Brave (Chromium)

<g data-tick-label-group="" data-axis="x">
   <g data-tick-label="" data-axis="x" transform="translate(42.5546875, 178.328125)" style="display: inline;">

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

No branches or pull requests

3 participants