Skip to content

Nav Drawer flyoutMenu broken on production build (documentation's example/CRA) #2175

@kkensy

Description

@kkensy

Hi. The flyoutMenu of the Nav Drawer does not work anymore in the documentation's example (v13.0.0). Nothing happens when I click or hover over the menu items.

I'm using EUI with a Create React App standalone project. After integrating the Nav Drawer in my project, I have noticed that the flyoutMenu do not work in the production build (yarn build). However it does work in the dev environment (yarn start). I have already observed this behavior in the previous versions of EUI (<13.0.0). You can find here an prepared example, based on the Demo JS code from the documentation.

What should I do in this case? I hope it does not require to eject my CRA project.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions