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

[EuiRange] Ticks not displaying correctly in React Strict Mode #7743

Closed
trifacts opened this issue May 8, 2024 · 2 comments
Closed

[EuiRange] Ticks not displaying correctly in React Strict Mode #7743

trifacts opened this issue May 8, 2024 · 2 comments
Labels
bug ⚠️ needs validation For bugs that need confirmation as to whether they're reproducible

Comments

@trifacts
Copy link

trifacts commented May 8, 2024

Describe the bug
When wrapping the application in React.StrictMode, the ticks of an EuiRange element are not rendering correctly.

Environment and versions

  • EUI version: 93.3.0
  • React version: 18.2.0
  • Browser: Chrome 124.0.6367.119
  • Operating System: macOS 13.6.3 (22G436)

To Reproduce
Create a React app like so

<React.StrictMode>
  <EuiProvider>
    <EuiRange min={0} max={100} step={10} value={20} showTicks />
  </EuiProvider>
</React.StrictMode>

Expected behavior
Ticks should be displayed as shown in the documentation.

Minimum reproducible sandbox
https://codesandbox.io/p/sandbox/blissful-mopsa-46j7tt?file=%2Findex.js%3A24%2C1

Screenshots

Screenshot 2024-05-08 at 14 16 23

@trifacts trifacts added bug ⚠️ needs validation For bugs that need confirmation as to whether they're reproducible labels May 8, 2024
@JasonStoltz
Copy link
Member

Hi @trifacts, thank you for the bug report! Unfortunately, we do not currently support strict mode: #7774.

I'm going to close this issue in favor of #7774. You can follow that issue for progress updates on Strict Mode support.

It's not currently on our Roadmap, so I'm not sure when / if we will provide support.

@JasonStoltz JasonStoltz closed this as not planned Won't fix, can't repro, duplicate, stale May 20, 2024
@trifacts
Copy link
Author

Got it, thanks for the info!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug ⚠️ needs validation For bugs that need confirmation as to whether they're reproducible
Projects
None yet
Development

No branches or pull requests

2 participants