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

Not work EuiPinnableListGroup if use React.StrictMode #7717

Closed
IvanovRoman opened this issue Apr 26, 2024 · 1 comment
Closed

Not work EuiPinnableListGroup if use React.StrictMode #7717

IvanovRoman opened this issue Apr 26, 2024 · 1 comment
Labels
bug ⚠️ needs validation For bugs that need confirmation as to whether they're reproducible

Comments

@IvanovRoman
Copy link

Environment and versions

  • EUI version: 94.1.0
  • React version: 18.2.0
  • Browser: 124.0.6367.78
  • Operating System: Windows 10

When I use React.StrictMode the list KibanaNavLinks does not open

  const KibanaNavLinks: EuiPinnableListGroupItemProps[] = [
    { label: 'Discover', pinned: true },
    { label: 'Visualize', pinned: true },
    { label: 'Dashboards', pinned: true },
    { label: 'Canvas', pinned: true },
    { label: 'Maps', pinned: true },
    { label: 'Machine Learning', pinned: true },
    { label: 'Graph', pinned: true },
  ];

    <EuiCollapsibleNavGroup
      title="Kibana"
      iconType="logoKibana"
      isCollapsible={true}
      initialIsOpen={true}
    >
      <EuiPinnableListGroup
        listItems={KibanaNavLinks}
        onPinClick={() => {}}
        maxWidth="none"
        color="text"
        gutterSize="none"
        size="s"
      />
    </EuiCollapsibleNavGroup>
@IvanovRoman IvanovRoman added bug ⚠️ needs validation For bugs that need confirmation as to whether they're reproducible labels Apr 26, 2024
@JasonStoltz
Copy link
Member

JasonStoltz commented May 20, 2024

Hi @IvanovRoman, 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
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