Akryum / Akryum/floating-vue

Capture clicks outside of popover

Open
#914 0 comments 3 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
3.5k
Forks
341
Avg merge
14m
Merged PRs (30d)
8

Description

Hi, great library thank you :) I was just wondering if there was a recommended way of capturing clicks outside the popover when it's open.

For example here I am using it for a context menu. If the user presses outside the menu then it closes which is great but triggers any click handlers on the element that is clicked.

Screenshot 2022-11-27 at 15 02 00

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.