azmenak / material-ui-nested-menu-item

Drop-in replacement for MUI's MenuItem with infinitely nested menus, and open on hover
73 stars 44 forks source link

Scrollbar Broken on Chrome #41

Open gerstej9 opened 1 year ago

gerstej9 commented 1 year ago

I've seen some similar issues on stack overflow but I am trying to utilize the NestedMenuItem and it appears to work well but on the breakout dropdown menu the scroll is broken on Chrome but works on Firefox.


                                    id={`navigation-menu-${option.optionDisplayValue}`}
                                    label={option.optionDisplayValue}
                                    parentMenuOpen={isMenuOpen}
                                    onClick={handleClose(option)}
                                >
                                    {option.subOptions &&
                                        option.subOptions.map((subOption) => (
                                            <MenuItem
                                                key={`navigation-menu-${option.optionDisplayValue}-${subOption.optionDisplayValue}`}
                                                onClick={handleClose(subOption)}
                                            >
                                                {subOption.optionDisplayValue}
                                            </MenuItem>
                                        ))}
                                </NestedMenuItem>```

Here is an example of the code. Any suggestions or advice you can give would be greatly appreciated! Thank you
leonidkuznetsov18 commented 1 year ago

same issues

WalidTouil commented 1 year ago

any updates about scroll issues ?!