vue3-popper
vue3-popper copied to clipboard
Nested popper clickoutside close all poppers
Description of the bug Nested popper clickoutside close all poppers
Reproduction link https://codesandbox.io/s/proud-fast-qi8x4
To Reproduce Steps to reproduce the behavior:
- Click "trigger parent"
- Click "trigger child"
- Click somewhere outside
Expected behavior The last active popper needs to be closed and not all of the poppers
Additional context See this library as a reference for working demo of the expected behavior: https://github.com/runfaj/react-nested-popper/