Imogen

Results 10 comments of Imogen

Hi @codescooper, it looks like you are using `[email protected]` which is not compatible with React 18. Can you try with the latest version?

@tigorthemusichead For a custom width, I would recommend using the width prop: https://github.com/negomi/react-burger-menu#width @theoradicella I think your code looks ok, are you just using the slide animation? The next thing...

Hey @dannyshaw, There actually isn't a changelog (I really should add one, just never got around to it). You're correct, the upgrade from 2 to 3 didn't include any breaking...

Hi @anasik, Do you mean something like a `closeOnItemClick` boolean prop, that would add an click handler behind the scenes to close the menu on any item click? That sounds...

Hey @boverU, You have the right idea, but the code above is invalid because you need to pass functions to the `onClick` handlers, and also call `handleCloseMenu` by putting parentheses...

Oh I see! Now the issue is that you need to add the `onStateChange` prop, so your `isMenuOpen` variable always stays in sync. I adapted your example to make it...

Unfortunately this is still not fixed. I traced the line back to svg-baker-runtime: https://github.com/kisenka/svg-baker/blob/53f8796d0382a921e718591d48dbe1896d7599d4/packages/svg-baker-runtime/src/browser-sprite.js#L117 It uses `event.detail`, which doesn't seem to exist in IE11 :/

Hi @kisenka, sorry for the delayed response. I agree it looks like it should work, but our error tracker is still reporting the issue. I'm not sure what's causing it...

@Andrew-Pynch I didn't unfortunately!

Hey @SimonFricker, do you mean is any styling for labels included? Not currently, although it could be a nice addition.