mantinedev/mantine

[MultiSelect] The component MultiSelect with renderOption doesn't remove element from the dropdown when selecting an item

oben01 opened this issue · 1 comments

Dependencies check up

  • I have verified that I use latest version of all @mantine/* packages

What version of @mantine/* packages do you have in package.json?

7.10.1

What package has an issue?

@mantine/core

What framework do you use?

Vite

In which browsers you can reproduce the issue?

Safari

Describe the bug

When using the MultiSelect component with the RenderOption feature, the selected items are not being removed from the dropdown list. This behavior is inconsistent with the example provided in the documentation: MultiSelect with RenderOption.

Capture d’écran 2024-06-06 à 21 53 51

Expected Behavior:
Selected items should be removed from the dropdown list as shown in the documentation example.

Actual Behavior:
Selected items remain in the dropdown list.

Additional Information:

Browser: Safari and Arc

If possible, include a link to a codesandbox with a minimal reproduction

https://codesandbox.io/p/sandbox/mantine-react-template-forked-ttvhns

Possible fix

No response

Self-service

  • I would be willing to implement a fix for this issue