mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Select: Fix last option in an option group to be selectable (#93457)
don't completely overwrite innerProps
This commit is contained in:
@@ -141,6 +141,7 @@ export const VirtualizedSelectMenu = ({
|
||||
// add a bottom divider to the last item in the category
|
||||
React.cloneElement(child.props.children.at(-1), {
|
||||
innerProps: {
|
||||
...child.props.children.at(-1).props.innerProps,
|
||||
style: {
|
||||
borderBottom: `1px solid ${theme.colors.border.weak}`,
|
||||
height: VIRTUAL_LIST_ITEM_HEIGHT,
|
||||
|
||||
Reference in New Issue
Block a user